Browse Source

自动化交班处理

qiangxuan 4 months ago
parent
commit
4b1bf889cc

+ 28 - 0
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendChangeShift/service/impl/BilletHotsendChangeShiftServiceImpl.java

@@ -120,6 +120,21 @@ public class BilletHotsendChangeShiftServiceImpl extends ServiceImpl<BilletHotse
                 billetHotsendChangeShift1.setShiftProduct(0d); // 当班总重
                 billetHotsendChangeShift1.setWasteAmount(0); // 当前废品支数
                 billetHotsendChangeShift1.setCreateTime(new Date());
+
+                // 3.19 新增班次实绩
+                billetHotsendChangeShift1.setShiftHotsendAmount(0);
+                billetHotsendChangeShift1.setShiftHotsendWeight(0d);
+
+                billetHotsendChangeShift1.setShiftHotfeignAmount(0);
+                billetHotsendChangeShift1.setShiftHotfeignWeight(0d);
+
+                billetHotsendChangeShift1.setShiftStackAmount(0);
+                billetHotsendChangeShift1.setShiftStackWeight(0d);
+
+                billetHotsendChangeShift1.setAllCarNum(0);
+                billetHotsendChangeShift1.setCounts(0);
+                billetHotsendChangeShift1.setBlankOutputs(0d);
+
                 baseMapper.insert(billetHotsendChangeShift1);
                 operateLogService.add(billetHotsendChangeShift1, null, BilletHotsendChangeShift.class);
                 result.put("success", "交班操作成功!");
@@ -217,6 +232,19 @@ public class BilletHotsendChangeShiftServiceImpl extends ServiceImpl<BilletHotse
                 billetHotsendChangeShift1.setShiftProduct(0d); // 当班总重
                 billetHotsendChangeShift1.setWasteAmount(0); // 当前废品支数
                 billetHotsendChangeShift1.setCreateTime(new Date());
+                // 3.19 新增班次实绩
+                billetHotsendChangeShift1.setShiftHotsendAmount(0);
+                billetHotsendChangeShift1.setShiftHotsendWeight(0d);
+
+                billetHotsendChangeShift1.setShiftHotfeignAmount(0);
+                billetHotsendChangeShift1.setShiftHotfeignWeight(0d);
+
+                billetHotsendChangeShift1.setShiftStackAmount(0);
+                billetHotsendChangeShift1.setShiftStackWeight(0d);
+
+                billetHotsendChangeShift1.setAllCarNum(0);
+                billetHotsendChangeShift1.setCounts(0);
+                billetHotsendChangeShift1.setBlankOutputs(0d);
                 baseMapper.insert(billetHotsendChangeShift1);
                 result.put("success", "自动化交班操作成功!");
             } catch (Exception e) {