From a9406b6b18ee5a8e29cad3248f46320a36ac9749 Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期三, 21 二月 2024 00:19:44 +0800 Subject: [PATCH] 批量数据采集方法更新 --- jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java b/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java index 586fe63..4e82039 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java +++ b/jcdm-main/src/main/java/com/jcdm/main/om/productionOrde/controller/OmProductionOrdeInfoController.java @@ -100,7 +100,7 @@ } /** - * 鏂板鐢熶骇宸ュ崟 + * 鐢熸垚鎸夐挳 */ @PostMapping("/orderSchedulingForBoxCode") public AjaxResult addOrderSchedulingForBoxCode(@RequestBody OmProductionOrdeInfo omProductionOrdeInfo) @@ -128,6 +128,8 @@ bsOrderScheduling.setProductionStatus("1"); bsOrderScheduling.setOperator(getUserName()); bsOrderScheduling.setOperateTime(fomateDate); + bsOrderScheduling.setProductType(omProductionOrdeInfo.getTypeL());//浜у搧绫诲瀷 + bsOrderScheduling.setWhetherOrPrint("0"); bsOrderSchedulingService.insertBsOrderScheduling(bsOrderScheduling); startCode++; } @@ -138,6 +140,7 @@ bsModelNumber.setModelDate(dateTimeRule); bsModelNumber.setMaxnumValue((startCode - 1) + ""); bsModelNumber.setSaveTime(fomateDate); + bsModelNumber.setLastNumber((startCode - 1) + ""); bsModelNumberService.insertBsModelNumber(bsModelNumber); } //鏇存柊宸ュ崟鐘舵�� @@ -195,7 +198,7 @@ return error("鎺ユ敹澶辫触锛佽妫�鏌ラ�氱煡鍗曞彿"); } }else { - return warn("璇ヨ鍗曞凡鎺ユ敹瀹屾瘯锛屼笉鑳介噸澶嶆帴鏀讹紒"); + return warn("璇ラ�氱煡鍗曞凡缁忔帴鏀跺畬姣曪紝涓嶈兘閲嶅鎺ユ敹锛�"); } return AjaxResult.success("鎺ユ敹鎴愬姛锛�"); } -- Gitblit v1.9.3