修改删改单推送数据

This commit is contained in:
zhaoqing
2026-06-23 20:09:22 +08:00
parent 6072ac272f
commit fe2dcc027b
@@ -435,9 +435,12 @@ public class BusinessDocumentOrderApplicationService {
int failCount = 0;
StringBuilder failMsg = new StringBuilder();
// 从数据库查询单证信息,获取运输业务单号
BusinessDocumentOrder order = businessDocumentOrderMapper.selectById(businessDocumentOrderDTO.getId());
// 构建单个对象
Map<String, String> item = new HashMap<>();
item.put("erpBillNo", businessDocumentOrderDTO.getGoodsNumber());
item.put("erpBillNo", order != null ? order.getGoodsNumber() : businessDocumentOrderDTO.getGoodsNumber());
item.put("operateType", String.valueOf(businessDocumentOrderDTO.getReviseApplyType()));
item.put("appMan", businessDocumentOrderDTO.getReviseApplyBy());
item.put("appMess", businessDocumentOrderDTO.getReviseApplyReason());