From 47c690e44453e1df237869342da971d07b097d3e Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Mon, 29 Jul 2024 12:26:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?oa=E6=9B=B4=E6=96=B0=E8=B4=A8=E6=A3=80?= =?UTF-8?q?=E6=A0=87=E5=87=86=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/op/sap/service/impl/SapItemSyncImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java b/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java index 598501d9..dd59c69d 100644 --- a/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java +++ b/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java @@ -155,8 +155,8 @@ public class SapItemSyncImpl implements SapItemSyncService { String MVGR3_NM = maraTable.getString("MVGR3_NM"); String MVGR4 = maraTable.getString("MVGR4"); String MVGR4_NM = maraTable.getString("MVGR4_NM"); - String MVGR5 = maraTable.getString("MVGR5"); - String MVGR5_NM = maraTable.getString("MVGR5_NM"); +// String MVGR5 = maraTable.getString("MVGR5");//标准占用 +// String MVGR5_NM = maraTable.getString("MVGR5_NM");//批次最大数量占用 String LAEDA = maraTable.getString("LAEDA"); String ERSDA = maraTable.getString("LAEDA"); log.info(i+"物料基础数据同步数据输出----" + From 50080086d60bc9ed205a8551cf48ef8058f2f802 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Mon, 29 Jul 2024 12:28:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?oa=E6=9B=B4=E6=96=B0=E8=B4=A8=E6=A3=80?= =?UTF-8?q?=E6=A0=87=E5=87=86=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/op/quality/controller/QcCheckTaskIncomeController.java | 2 ++ .../op/quality/service/impl/QcCheckTaskIncomeServiceImpl.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckTaskIncomeController.java b/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckTaskIncomeController.java index e61a4160..411b51c1 100644 --- a/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckTaskIncomeController.java +++ b/op-modules/op-quality/src/main/java/com/op/quality/controller/QcCheckTaskIncomeController.java @@ -242,6 +242,8 @@ public class QcCheckTaskIncomeController extends BaseController { @PostMapping("/createIncomeTask") public AjaxResult createIncomeTask(@RequestBody QcCheckTaskIncomeDTO qcCheckTaskIncome) { + logger.info("创建检验任务接收参数:"+JSONObject.toJSONString(qcCheckTaskIncome)); + if (StringUtils.isBlank(qcCheckTaskIncome.getOrderNo())) { return error("[orderNo]不能为空"); } diff --git a/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckTaskIncomeServiceImpl.java b/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckTaskIncomeServiceImpl.java index d490b307..b3bb0179 100644 --- a/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckTaskIncomeServiceImpl.java +++ b/op-modules/op-quality/src/main/java/com/op/quality/service/impl/QcCheckTaskIncomeServiceImpl.java @@ -146,7 +146,7 @@ public class QcCheckTaskIncomeServiceImpl implements */ @Override public int insertQcCheckTaskIncome(QcCheckTaskIncome qcCheckTaskIncome) { - logger.info("创建检验任务接收参数:"+JSONObject.toJSONString(qcCheckTaskIncome)); + logger.info("impl创建检验任务接收参数:"+JSONObject.toJSONString(qcCheckTaskIncome)); DynamicDataSourceContextHolder.push("ds_" + qcCheckTaskIncome.getFactoryCode()); String bpDD = DateUtils.parseDateToStr(DateUtils.YYYYMMDD, DateUtils.getNowDate()); int liushuiNum = qcCheckTaskIncomeMapper.getTodayMaxNum(qcCheckTaskIncome);