mmpac流程生产订单维护: 修复属性字段与属性值错误

- 修改了 SXZF16、SXZF17 和 SXZF18 的 propertyFiled 和 propertyValue 设置
- 确保属性字段和属性值正确对应,避免数据同步错误
This commit is contained in:
maolei 2025-05-23 11:14:15 +08:00
parent a5c2b18bdb
commit 0cc535d58c
1 changed files with 9 additions and 3 deletions

View File

@ -214,9 +214,15 @@ public class AfterApproveRuleSyncMes implements IRule<PMOAggVO> {
JSONObject SXZF16 = new JSONObject();
JSONObject SXZF17 = new JSONObject();
JSONObject SXZF18 = new JSONObject();
SXZF16.put("propertyFiled", item.getVparentbillcode());
SXZF17.put("propertyFiled", item.getVparentmorowno());
SXZF18.put("propertyFiled", head.getVtrantypecode());
SXZF16.put("propertyFiled", "SXZF16");
SXZF17.put("propertyFiled", "SXZF17");
SXZF18.put("propertyFiled", "SXZF18");
SXZF16.put("propertyValue", item.getVparentbillcode());
SXZF17.put("propertyValue", item.getVparentmorowno());
SXZF18.put("propertyValue", head.getVtrantypecode());
properties.add(SXZF16);
properties.add(SXZF17);
properties.add(SXZF18);