|
|
|
@ -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")); |
|
|
|
|