Browse Source

字段添加叛废

qiangxuan 2 months ago
parent
commit
488566ea6c

+ 4 - 0
zgzt-sys-java/jeecg-module-conn/src/main/java/org/jeecg/modules/billetActual/entity/BilletHotsend.java

@@ -130,6 +130,10 @@ public class BilletHotsend implements Serializable {
     @Excel(name = "判废支数", width = 15)
     @ApiModelProperty(value = "判废支数")
     private Integer wasteNum;
+    /**叛废总重*/
+    @Excel(name = "叛废总重", width = 15)
+    @ApiModelProperty(value = "叛废总重")
+    private Double wasteBlankOutput;
     /**C*/
     @Excel(name = "C", width = 15)
     @ApiModelProperty(value = "C")

+ 1 - 0
zgzt-sys-java/jeecg-module-conn/src/main/java/org/jeecg/modules/billetActual/service/impl/BilletBasicInfoServiceImpl.java

@@ -136,6 +136,7 @@ public class BilletBasicInfoServiceImpl extends ServiceImpl<BilletBasicInfoMappe
                 billetHotsend.setAmountTotal(1); // 支数
                 billetHotsend.setBlankOutput(weight); // 出批量
                 billetHotsend.setDecideWeight(billetBasicInfo.getWeight()); // 定重
+                billetHotsend.setWasteBlankOutput(0.0);
                 billetHotsendMapper.insert(billetHotsend);
             }
         }