Przeglądaj źródła

运单详情新增任务量字段

donglang 1 miesiąc temu
rodzic
commit
e70f7a7c2c

+ 6 - 0
sckw-modules/sckw-transport/src/main/java/com/sckw/transport/model/vo/WaybillOrderDetailResp.java

@@ -110,6 +110,12 @@ public class WaybillOrderDetailResp implements Serializable {
     @Schema(description = "任务量")
     @Schema(description = "任务量")
     private String taskVolume;
     private String taskVolume;
 
 
+    /**
+     * 任务量(不带单位)
+     */
+    @Schema(description = "任务量(不带单位)")
+    private BigDecimal taskNum;
+
     /**
     /**
      * 装货量(不带单位)
      * 装货量(不带单位)
      */
      */

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

@@ -4666,6 +4666,7 @@ public class KwtWaybillOrderV1Service {
         resp.setUnloadLongitude(unLoadAdd.getLng());
         resp.setUnloadLongitude(unLoadAdd.getLng());
         //装货净重
         //装货净重
         resp.setLoadingNetWeight(subtask.getLoadAmount());
         resp.setLoadingNetWeight(subtask.getLoadAmount());
+        resp.setTaskNum(subtask.getEntrustAmount());
         // 数量信息
         // 数量信息
         String unit = subtask.getUnit();
         String unit = subtask.getUnit();
         resp.setTaskVolume(formatAmount(subtask.getEntrustAmount()) + unit);
         resp.setTaskVolume(formatAmount(subtask.getEntrustAmount()) + unit);