Browse Source

Merge remote-tracking branch 'origin/pre-production' into pre-production

master
汤建军 8 months ago
parent
commit
e08c5bb070
  1. 6
      blade-service/logpm-factory-data/logpm-factory-data-olo/src/main/java/com/logpm/factorydata/olo/service/impl/DeliveryNoteServiceImpl.java

6
blade-service/logpm-factory-data/logpm-factory-data-olo/src/main/java/com/logpm/factorydata/olo/service/impl/DeliveryNoteServiceImpl.java

@ -253,10 +253,12 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
}
js.set("snList", snArray);
js.remove("sns");
JSONArray jsonArray = new JSONArray();
jsonArray.add(js);
if (StrUtil.isNotEmpty(oldProperties.getPushNodeUrl())) {
try {
log.info("自定义推送节点数据:{}", js.toString());
String post = HttpUtil.post(oldProperties.getPushNodeUrl(), JSONUtil.toJsonStr(CollUtil.newArrayList(js)));
log.info("自定义推送节点数据:{}", JSONUtil.toJsonStr(jsonArray));
String post = HttpUtil.post(oldProperties.getPushNodeUrl(), JSONUtil.toJsonStr(jsonArray));
log.info("推送结果:{}", post);
// 修改推送状态
this.baseMapper.updateSustomPushNodeDataStatus(js.getStr("status"), js.getStr("orderNo"), js.getStr("deliveryNo"));

Loading…
Cancel
Save