From d6aec316c1452b2f5798f2dd3413231b3adeb1f7 Mon Sep 17 00:00:00 2001 From: "ZHOUZ\\Noble'lift" <1014987728@qq.com> Date: Wed, 8 Mar 2023 09:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/ext/mes/service/impl/MesToLmsServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/ext/mes/service/impl/MesToLmsServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/ext/mes/service/impl/MesToLmsServiceImpl.java index 7a88ba3fe..941299a98 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/ext/mes/service/impl/MesToLmsServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/ext/mes/service/impl/MesToLmsServiceImpl.java @@ -223,7 +223,7 @@ public class MesToLmsServiceImpl implements MesToLmsService { JSONArray paramArr = new JSONArray(); JSONObject json = new JSONObject(); json.put("device_code", jsonSb.getString("point_code")); - param.put("task_code", task_jo.getString("task_code")); + json.put("task_code", task_jo.getString("task_code")); json.put("option ", "2"); paramArr.add(json); @@ -332,7 +332,7 @@ public class MesToLmsServiceImpl implements MesToLmsService { log.info("母卷:"+ContainerName+"被决策入半成品库,请求入半成品库标识改为1"); JSONObject jsonPoint = pointTab.query("material_code = '" + containerName + "' and is_delete = '0' and is_used = '1'").uniqueResult(0); - if (ObjectUtil.isEmpty(jsonPoint)) throw new BadRequestException("母卷不存在"); + if (ObjectUtil.isEmpty(jsonPoint)) throw new BadRequestException("母卷不存在烘箱对接位上!"); // 调用接口输入参数 jsonParam.put("point_code", jsonPoint.getString("point_code"));