备料、生产订单、销售订单审批后推送高压MES修改
This commit is contained in:
parent
920842f6b4
commit
195bfccc52
|
|
@ -101,7 +101,9 @@ public class AfterApproveCancelSyncHighpressureMesRule implements IRule<PMOAggVO
|
|||
list.put("bipChildId", result); // ×ÓÏîÖ÷¼üID
|
||||
|
||||
}
|
||||
pushData(list);
|
||||
if (list != null && !list.isEmpty()) {
|
||||
pushData(list);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -221,7 +221,9 @@ public class AfterApproveSyncHighpressureMesRule implements IRule<PMOAggVO> {
|
|||
jsonArray.add(singleObj);
|
||||
list.put("list", jsonArray);
|
||||
}
|
||||
pushData(list, flags);
|
||||
if (list != null && !list.isEmpty()) {
|
||||
pushData(list, flags);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -100,7 +100,10 @@ public class AfterSoCancelSyncRuleGyMes implements IRule<SaleOrderVO> {
|
|||
|
||||
list.put("bipOrderId", result); // 主键ID
|
||||
list.put("bipUpdateBy", bipUpdateBy);// 取消审批人
|
||||
pushData(list);
|
||||
if (list != null && !list.isEmpty()) {
|
||||
pushData(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,9 @@ public class AfterSoSyncRuleGyMes implements IRule<SaleOrderVO> {
|
|||
itemObj.put("remark", item.getVrownote());// 备注
|
||||
itemObj.put("bipCreateBy", createName);// 创建人
|
||||
itemObj.put("customers", customerName);// 客户
|
||||
pushData(itemObj);
|
||||
if (itemObj != null && !itemObj.isEmpty()) {
|
||||
pushData(itemObj);
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
|
|
@ -131,7 +133,9 @@ public class AfterSoSyncRuleGyMes implements IRule<SaleOrderVO> {
|
|||
itemObj.put("remark", item.getVrownote());// 备注
|
||||
itemObj.put("bipUpdateBy", createName);// 修改人
|
||||
itemObj.put("customers", customerName);// 客户
|
||||
pushData_Update(itemObj);
|
||||
if (itemObj != null && !itemObj.isEmpty()) {
|
||||
pushData_Update(itemObj);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue