流程生产订单: 调整生产订单同步MES中的属性值
- 将上级生产订单号(SXZF16)改为项目主键 - 将上级生产订单行号(SXZF17)改为单据行号 - 优化了代码格式,增加了注释和空行
This commit is contained in:
parent
13fbf46634
commit
9726246ed0
|
@ -335,11 +335,11 @@ public class AfterApproveRuleSyncMes implements IRule<PMOAggVO> {
|
|||
private JSONArray buildProperties(PMOHeadVO head, PMOItemVO item) {
|
||||
JSONArray properties = new JSONArray();
|
||||
|
||||
// SXZF16 - 上级生产订单号
|
||||
addProperty(properties, "SXZF16", item.getVparentbillcode());
|
||||
// SXZF16 - 项目主键
|
||||
addProperty(properties, "SXZF16", item.getCprojectid());
|
||||
|
||||
// SXZF17 - 上级生产订单行号
|
||||
addProperty(properties, "SXZF17", item.getVparentmorowno());
|
||||
// SXZF17 - 单据行号
|
||||
addProperty(properties, "SXZF17", item.getVrowno());
|
||||
|
||||
// SXZF18 - 生产订单交易类型编码
|
||||
addProperty(properties, "SXZF18", head.getVtrantypecode());
|
||||
|
@ -353,6 +353,7 @@ public class AfterApproveRuleSyncMes implements IRule<PMOAggVO> {
|
|||
// SXZF24 - 生产订单明细主键
|
||||
addProperty(properties, "SXZF24", item.getCmoid());
|
||||
|
||||
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue