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