Commit 8139ba66 by lijingjing

有返回值才输出成功;

parent 58751beb
...@@ -2487,7 +2487,7 @@ public class EntrustSampleServiceImpl extends BaseServiceImpl<EntrustSampleMappe ...@@ -2487,7 +2487,7 @@ public class EntrustSampleServiceImpl extends BaseServiceImpl<EntrustSampleMappe
map.put("MaterialCode", sample.getNameCode()); map.put("MaterialCode", sample.getNameCode());
map.put("CreateDate", new Date()); map.put("CreateDate", new Date());
WmsRespResult result = WmsRequest.sendPost(url, map); WmsRespResult result = WmsRequest.sendPost(url, map);
if (Objects.nonNull(result)) { if (result.success()) {
logger.info("==== EntrustSampleServiceImpl ==== doSendWmsEntrustData ====> 委托信息推送WMS数据成功!"); logger.info("==== EntrustSampleServiceImpl ==== doSendWmsEntrustData ====> 委托信息推送WMS数据成功!");
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment