From 07a4ad25aaece184ae096144479f11dce36d5492 Mon Sep 17 00:00:00 2001 From: 18110972313 <780768673@qq.com> Date: Thu, 8 May 2025 11:01:30 +0800 Subject: [PATCH] =?UTF-8?q?update=20meswms=5Fship=5Frequest=E7=89=A9?= =?UTF-8?q?=E6=96=99=E5=85=A5=E5=BA=93=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=A2=9E=E5=8A=A0MES=E6=9C=AA?= =?UTF-8?q?=E4=BC=A0=E8=BF=87=E8=B4=A6=E6=97=A5=E6=9C=9F=E5=88=A4=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cim/idm/service/Impl/MESToWMSServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/MESToWMSServiceImpl.java b/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/MESToWMSServiceImpl.java index cd29fb5..f7ef386 100644 --- a/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/MESToWMSServiceImpl.java +++ b/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/MESToWMSServiceImpl.java @@ -381,6 +381,14 @@ public class MESToWMSServiceImpl implements MESToWMSService { String fgStockIn = ""; if (in != null && in.size() > 0) { String payMentDate = in.getJSONObject(0).get("payMentDate") == null ? "" : in.getJSONObject(0).get("payMentDate").toString(); //日期 + if (StringUtils.isBlank(payMentDate)) { + result = AjaxResult.me().setSuccess(false).setErrorCode(500).setMessage("payMentDate过账日期不能为空"); + loginfo.setResultCode("1"); + loginfo.setReturnMsg(JSONObject.toJSONString(result)); + // 消息保存日志,erp推送wms的数据写入表BS_ERPMESSAGELOG中 + MessageLogUtil.writeMessageLog(loginfo); + return result; + } for (int i = 0; i < in.size(); i++) { JSONObject jb = in.getJSONObject(i); String charge = jb.get("charge").toString(); // 批号