瀏覽代碼

运单详情新增任务量字段

donglang 1 月之前
父節點
當前提交
d5b8ec63b5

+ 7 - 1
sckw-modules/sckw-transport/src/main/java/com/sckw/transport/model/vo/WaybillOrderDetailResp.java

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

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

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