From c9a45ea4575a663072004e4c06072e41e2f547f6 Mon Sep 17 00:00:00 2001 From: zhouz <> Date: Wed, 22 May 2024 11:23:32 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BD=8D=E7=BD=AE=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/ext/mes/service/impl/MesToLmsServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) 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 a50d4371e..4c9460f6e 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 @@ -1503,6 +1503,9 @@ public class MesToLmsServiceImpl implements MesToLmsService { String up_scroll = device_jo.getString("up_scroll"); //查询母卷所在点位 JSONObject jsonCoolIvt = coolIvtTab.query("container_name = '" + containerName + "' and full_point_status = '02' and cool_ivt_status <> '04'").uniqueResult(0); + if(ObjectUtil.isEmpty(jsonCoolIvt)) { + throw new BadRequestException("未查询到母卷【"+containerName+"】所在的半成品暂存点!"); + } JSONObject form = new JSONObject(); if (StrUtil.isEmpty(up_scroll)) { //取满放满