From 23f93897d618a5253a18b65b124196f95891f240 Mon Sep 17 00:00:00 2001 From: Administrator <hbal> Date: 星期日, 09 十月 2022 13:44:04 +0800 Subject: [PATCH] NC关闭了,导致查询为空,无法删除一卡通中实际物资 --- JavaSource/com/mandi/webservice/service/impl/FdXSTDService.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/JavaSource/com/mandi/webservice/service/impl/FdXSTDService.java b/JavaSource/com/mandi/webservice/service/impl/FdXSTDService.java index 6e42ce0..cdbb857 100644 --- a/JavaSource/com/mandi/webservice/service/impl/FdXSTDService.java +++ b/JavaSource/com/mandi/webservice/service/impl/FdXSTDService.java @@ -698,6 +698,10 @@ String tdmx_pch=jo.get("tdmx_pch").getAsString(); // Fd_XSTDMX tdmx=this.tdmxper.getbyPCH(tdmx_pch); Fd_XSTDMX tdmx=this.tdmxper.getbyPCHONE(tdmx_pch,vehicleId); + if(tdmx == null) { + String errMsg = "涓�鍗¢�氬嵏杞﹀け璐ワ紝璇锋煡鐪嬨��" + tdmx_pch +"銆戝嚭搴撳叧闂爣蹇楋紒"; + throw new Exception(errMsg); + } // if(tdmx.getTdmx_zcbz()!=1){ //// throw new Exception("鎵规鍙凤細"+tdmx_pch+" 宸茬粡鎻愪氦瑁呰溅锛屼笉鑳介噸澶嶆彁浜よ杞︼紒"); // continue; -- Gitblit v1.9.3