Browse Source

1、审单详情接口非空判断;

zk 2 years ago
parent
commit
c118c63c6d

+ 5 - 0
sckw-common/sckw-common-mongo/src/main/java/com/sckw/mongo/model/SckwWaybillOrder.java

@@ -156,6 +156,11 @@ public class SckwWaybillOrder{
      */
     private BigDecimal entrustAmount;
 
+    /**
+     * 托量单位
+     */
+    private String unit;
+
     /**
      * 装货重量
      */

+ 1 - 0
sckw-modules/sckw-transport/src/main/java/com/sckw/transport/service/KwtWaybillOrderService.java

@@ -766,6 +766,7 @@ public class KwtWaybillOrderService {
         order.setStartTime(sendCarDto.getLoadDateTime());
         order.setEndTime(sendCarDto.getUnloadDateTime());
         order.setEntrustAmount(new BigDecimal(sendCarDto.getEntrustAmount()));
+        order.setUnit(logisticsOrder.getUnit());
         order.setLoadAmount(new BigDecimal(Global.AMOUNT));
         order.setLoadTareAmount(new BigDecimal(Global.AMOUNT));
         order.setLoadGrossAmount(new BigDecimal(Global.AMOUNT));