MES物料消耗存储修改

This commit is contained in:
李兴辉 2025-04-07 13:44:21 +08:00
parent 4388d3abda
commit cdc5c3218b

View File

@ -97,6 +97,7 @@ public class MESToWMSServiceImpl implements MESToWMSService {
loginfo.setReturnMsg(JSONObject.toJSONString(result)); loginfo.setReturnMsg(JSONObject.toJSONString(result));
// 消息保存日志erp推送wms的数据写入表BS_ERPMESSAGELOG中 // 消息保存日志erp推送wms的数据写入表BS_ERPMESSAGELOG中
MessageLogUtil.writeMessageLog(loginfo); MessageLogUtil.writeMessageLog(loginfo);
return result;
} }
if (StringUtils.isBlank(wo)) { if (StringUtils.isBlank(wo)) {
result = AjaxResult.me().setSuccess(false).setErrorCode(500).setMessage("工单不能为空"); result = AjaxResult.me().setSuccess(false).setErrorCode(500).setMessage("工单不能为空");
@ -104,6 +105,7 @@ public class MESToWMSServiceImpl implements MESToWMSService {
loginfo.setReturnMsg(JSONObject.toJSONString(result)); loginfo.setReturnMsg(JSONObject.toJSONString(result));
// 消息保存日志erp推送wms的数据写入表BS_ERPMESSAGELOG中 // 消息保存日志erp推送wms的数据写入表BS_ERPMESSAGELOG中
MessageLogUtil.writeMessageLog(loginfo); MessageLogUtil.writeMessageLog(loginfo);
return result;
} }
//调用存储MES_CONSUME //调用存储MES_CONSUME
String procedureName = "MES_CONSUME"; String procedureName = "MES_CONSUME";