From 6a7989824f835241ae0d4f186309414b18deabdf Mon Sep 17 00:00:00 2001 From: mzr Date: Wed, 15 Oct 2025 12:33:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(uapbd):=E4=BF=AE=E5=A4=8D=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=A9=BA=E5=80=BC=E5=A4=84=E7=90=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91-=E7=94=B5=E5=8A=9B=E7=94=B5=E5=AD=90BOM=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uapbd/src/public/nccloud/api/uapbd/msg/MsgResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uapbd/src/public/nccloud/api/uapbd/msg/MsgResource.java b/uapbd/src/public/nccloud/api/uapbd/msg/MsgResource.java index 0745fc68..df396aa3 100644 --- a/uapbd/src/public/nccloud/api/uapbd/msg/MsgResource.java +++ b/uapbd/src/public/nccloud/api/uapbd/msg/MsgResource.java @@ -62,7 +62,7 @@ public class MsgResource extends AbstractNCCRestResource { String orgCode = (String) jsonObject.get("orgCode"); try { String pkOrg = MyHelper.transferField(FactoryVO.getDefaultTableName(), FactoryVO.PK_FACTORY, FactoryVO.CODE, orgCode); - if (pkOrg != null) { + if (pkOrg == null || pkOrg.isEmpty()) { return ResultMessageUtil.toJSON(false, "δ²éѯµ½×éÖ¯£º" + orgCode); } String materialCode = (String) jsonObject.get("materialCode");