修改删改单推送数据
This commit is contained in:
+4
-1
@@ -435,9 +435,12 @@ public class BusinessDocumentOrderApplicationService {
|
|||||||
int failCount = 0;
|
int failCount = 0;
|
||||||
StringBuilder failMsg = new StringBuilder();
|
StringBuilder failMsg = new StringBuilder();
|
||||||
|
|
||||||
|
// 从数据库查询单证信息,获取运输业务单号
|
||||||
|
BusinessDocumentOrder order = businessDocumentOrderMapper.selectById(businessDocumentOrderDTO.getId());
|
||||||
|
|
||||||
// 构建单个对象
|
// 构建单个对象
|
||||||
Map<String, String> item = new HashMap<>();
|
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("operateType", String.valueOf(businessDocumentOrderDTO.getReviseApplyType()));
|
||||||
item.put("appMan", businessDocumentOrderDTO.getReviseApplyBy());
|
item.put("appMan", businessDocumentOrderDTO.getReviseApplyBy());
|
||||||
item.put("appMess", businessDocumentOrderDTO.getReviseApplyReason());
|
item.put("appMess", businessDocumentOrderDTO.getReviseApplyReason());
|
||||||
|
|||||||
Reference in New Issue
Block a user