update meswms_ship_request物料入库请求接口修改,增加MES未传过账日期判空
This commit is contained in:
parent
5b8f02b3c2
commit
07a4ad25aa
@ -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(); // 批号
|
||||
|
Loading…
x
Reference in New Issue
Block a user