备料、生产订单、销售订单审批后推送高压MES修改

This commit is contained in:
houyi 2025-10-09 14:34:54 +08:00
parent 920842f6b4
commit 195bfccc52
4 changed files with 16 additions and 5 deletions

View File

@ -101,8 +101,10 @@ public class AfterApproveCancelSyncHighpressureMesRule implements IRule<PMOAggVO
list.put("bipChildId", result); // 子项主键ID list.put("bipChildId", result); // 子项主键ID
} }
if (list != null && !list.isEmpty()) {
pushData(list); pushData(list);
} }
}
/** /**
* 推送同步数据 * 推送同步数据

View File

@ -221,8 +221,10 @@ public class AfterApproveSyncHighpressureMesRule implements IRule<PMOAggVO> {
jsonArray.add(singleObj); jsonArray.add(singleObj);
list.put("list", jsonArray); list.put("list", jsonArray);
} }
if (list != null && !list.isEmpty()) {
pushData(list, flags); pushData(list, flags);
} }
}
/** /**
* 推送同步数据 * 推送同步数据

View File

@ -100,11 +100,14 @@ public class AfterSoCancelSyncRuleGyMes implements IRule<SaleOrderVO> {
list.put("bipOrderId", result); // 主键ID list.put("bipOrderId", result); // 主键ID
list.put("bipUpdateBy", bipUpdateBy);// 取消审批人 list.put("bipUpdateBy", bipUpdateBy);// 取消审批人
if (list != null && !list.isEmpty()) {
pushData(list); pushData(list);
} }
} }
}
/** /**
* 推送同步数据 * 推送同步数据
*/ */

View File

@ -110,7 +110,9 @@ public class AfterSoSyncRuleGyMes implements IRule<SaleOrderVO> {
itemObj.put("remark", item.getVrownote());// 备注 itemObj.put("remark", item.getVrownote());// 备注
itemObj.put("bipCreateBy", createName);// 创建人 itemObj.put("bipCreateBy", createName);// 创建人
itemObj.put("customers", customerName);// 客户 itemObj.put("customers", customerName);// 客户
if (itemObj != null && !itemObj.isEmpty()) {
pushData(itemObj); pushData(itemObj);
}
} }
} else { } else {
@ -131,7 +133,9 @@ public class AfterSoSyncRuleGyMes implements IRule<SaleOrderVO> {
itemObj.put("remark", item.getVrownote());// 备注 itemObj.put("remark", item.getVrownote());// 备注
itemObj.put("bipUpdateBy", createName);// 修改人 itemObj.put("bipUpdateBy", createName);// 修改人
itemObj.put("customers", customerName);// 客户 itemObj.put("customers", customerName);// 客户
if (itemObj != null && !itemObj.isEmpty()) {
pushData_Update(itemObj); pushData_Update(itemObj);
}
} }
} }