|
@@ -582,6 +582,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
BigDecimal tatolMoney = BigDecimal.ZERO;
|
|
|
//总体积
|
|
|
BigDecimal tatolVolume = BigDecimal.ZERO;
|
|
|
+ //总箱数
|
|
|
+ BigDecimal tatolBoxnumber = BigDecimal.ZERO;
|
|
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
|
@@ -622,6 +624,7 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
tatolNumber = tatolNumber.add(li.getNumber());
|
|
|
tatolMoney = tatolMoney.add(li.getTotalPrice());
|
|
|
tatolVolume = tatolVolume.add(li.getVolume());
|
|
|
+ tatolBoxnumber = tatolBoxnumber.add(li.getBoxNumber());
|
|
|
li.setDestination(entity.getArriveInCountry());
|
|
|
}
|
|
|
//总数量
|
|
@@ -637,20 +640,23 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
tatolNumber = tatolNumber.add(li.getNumber());
|
|
|
tatolMoney = tatolMoney.add(li.getTotalPrice());
|
|
|
tatolVolume = tatolVolume.add(li.getVolume());
|
|
|
+ tatolBoxnumber = tatolBoxnumber.add(li.getBoxNumber());
|
|
|
li.setDestination(entity.getArriveInCountry());
|
|
|
}
|
|
|
- //总毛重
|
|
|
- entity.setTotalGrossWeight(entity.getTotalGrossWeight());
|
|
|
- //总净重
|
|
|
- entity.setTotalNetWeight(entity.getTotalNetWeight());
|
|
|
- //总数量
|
|
|
- entity.setTatolNumber(tatolNumber);
|
|
|
- //总金额
|
|
|
- entity.setTatolMoney(tatolMoney);
|
|
|
- //总体积
|
|
|
- //entity.setTotalVolume(entity.get());
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
+ //总毛重
|
|
|
+ entity.setTotalGrossWeight(totalGrossWeight);
|
|
|
+ //总净重
|
|
|
+ entity.setTotalNetWeight(totalNetweight);
|
|
|
+ //总数量
|
|
|
+ entity.setTatolNumber(tatolNumber);
|
|
|
+ //总金额
|
|
|
+ entity.setTatolMoney(tatolMoney);
|
|
|
+ //总体积
|
|
|
+ entity.setTotalVolume(tatolVolume);
|
|
|
+ //总箱数
|
|
|
+ entity.setBoxNumber(tatolBoxnumber);
|
|
|
//判空
|
|
|
if(oConvertUtils.isEmpty(entity.getUnitInOperation())){
|
|
|
entity.setUnitInOperation(" ");
|