Browse Source

feature 合计卷重

xiahan 10 months ago
parent
commit
e278a3b763

+ 4 - 1
cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProcessOperationProcessEquDao.xml

@@ -189,7 +189,10 @@
         a7.CUSTOMERABBREVIATION as CUSTOMERABBREVIATION,
         a7.CUSTOMERUNIT,
         a3.BLANKNUMBER as blankNumber,
-        a3.PLANHAVEMATERIALDATE as planhavematerialdate
+        a3.PLANHAVEMATERIALDATE as planhavematerialdate,
+        a2.SINGLEROLLWEIGHT,
+        a2.SINGLEROLLWEIGHT * a1.PLANPROCESSRALL as totalRollWeight
+
         FROM
         aps_process_operation_process_equ a1
         LEFT JOIN aps_process_operation a2 ON a1.PROCESSID = a2.ID

+ 10 - 0
cx-aps/cx-aps-entity/src/main/java/com/rongwei/bsentity/vo/GanttVos.java

@@ -2,6 +2,7 @@ package com.rongwei.bsentity.vo;
 
 import lombok.Data;
 
+import java.math.BigDecimal;
 import java.util.Date;
 
 /**
@@ -225,4 +226,13 @@ public class GanttVos {
      * 预计来料日期
      */
     private Date planhavematerialdate;
+    /**
+     * 计划单卷重
+     */
+    private BigDecimal singlerollweight;
+
+    /**
+     * 合计卷重
+     */
+    private BigDecimal totalRollWeight;
 }