fix(工单派工接口):修改调用
This commit is contained in:
parent
48d22c1446
commit
263ba38c8b
@ -298,7 +298,6 @@ public class TdsDispatchEquipmentServiceImpl extends ServiceImpl<TdsDispatchEqui
|
||||
conTextJsonObject.put("EXCHANGE_ID", StrUtil.uuid());
|
||||
conTextJsonObject.put("EXCHANGE_DOC", "");
|
||||
jsonBody.put("REQUEST_CONTEXT", conTextJsonObject);
|
||||
JSONObject bodyJsonObject = new JSONObject();
|
||||
JSONArray jsonArray = new JSONArray();
|
||||
|
||||
// 点击添加按钮,把 新派工数据插入到派工表和派工日志表中,然后 更新shop_order表中的计划工作中心为当前设备对应工作中心
|
||||
@ -433,6 +432,7 @@ public class TdsDispatchEquipmentServiceImpl extends ServiceImpl<TdsDispatchEqui
|
||||
|
||||
// ERP报文结束#
|
||||
if (jsonArray.size() > 0) {
|
||||
JSONObject bodyJsonObject = new JSONObject();
|
||||
bodyJsonObject.put("IT_INPUT", jsonArray);
|
||||
jsonBody.put("REQUEST_BODY", bodyJsonObject);
|
||||
// 调用ERP派工
|
||||
|
||||
Loading…
Reference in New Issue
Block a user