Ver Fonte

交班表字段新增

qiangxuan há 1 mês atrás
pai
commit
7bf2c0f667

+ 1 - 0
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendAbandons/controller/BilletHotsendAbandonsController.java

@@ -266,6 +266,7 @@ public class BilletHotsendAbandonsController extends JeecgController<BilletHotse
 					 billetHotsendChangeShift.setShiftProduct(Math.max(billetHotsendChangeShift.getShiftProduct() - totalWeightBigDecimal.doubleValue(), 0));
 					 billetHotsendChangeShift.setShiftSum(Math.max(billetHotsendChangeShift.getShiftSum() - group.size(), 0));
 					 billetHotsendChangeShift.setWasteAmount(billetHotsendChangeShift.getWasteAmount() + group.size());
+					 billetHotsendChangeShift.setWasteBlankOutput(Math.max(billetHotsendChangeShift.getWasteBlankOutput() + totalWeightBigDecimal.doubleValue(), 0));
 					 billetHotsendChangeShiftService.updateById(billetHotsendChangeShift);
 				 }
 			 }

+ 4 - 0
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendChangeShift/entity/BilletHotsendChangeShift.java

@@ -76,6 +76,10 @@ public class BilletHotsendChangeShift implements Serializable {
     @Excel(name = "当前废品支数", width = 15)
     @ApiModelProperty(value = "当前废品支数")
     private Integer wasteAmount;
+    /**叛废总重*/
+    @Excel(name = "叛废总重", width = 15)
+    @ApiModelProperty(value = "叛废总重")
+    private Double wasteBlankOutput;
     /**当前热送支数*/
     @Excel(name = "当前热送支数", width = 15)
     @ApiModelProperty(value = "当前热送支数")