销售订单增加字段
This commit is contained in:
parent
1492a58adb
commit
cc00d496fc
|
@ -551,6 +551,18 @@ public class APISaleOrderMaitainImpl implements IAPISaleOrderMaitain {
|
||||||
if (vtrantypecode != null && !vtrantypecode.isEmpty()) {
|
if (vtrantypecode != null && !vtrantypecode.isEmpty()) {
|
||||||
targetHVO.setVtrantypecode(vtrantypecode);
|
targetHVO.setVtrantypecode(vtrantypecode);
|
||||||
}
|
}
|
||||||
|
//订单关联合同号
|
||||||
|
|
||||||
|
String vdef19 = sourceHVO.getVdef19();
|
||||||
|
if (vdef19 != null && !vdef19.isEmpty()) {
|
||||||
|
targetHVO.setVdef19(vdef19);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 工程名称
|
||||||
|
String vdef20 = sourceHVO.getVdef20();
|
||||||
|
if (vdef20 != null && !vdef20.isEmpty()) {
|
||||||
|
targetHVO.setVdef20(vdef20);
|
||||||
|
}
|
||||||
|
|
||||||
// ¸üРSaleOrderBVO ×Ö¶Î
|
// ¸üРSaleOrderBVO ×Ö¶Î
|
||||||
SaleOrderBVO[] targetBVOs = target.getChildrenVO();
|
SaleOrderBVO[] targetBVOs = target.getChildrenVO();
|
||||||
|
@ -692,12 +704,28 @@ public class APISaleOrderMaitainImpl implements IAPISaleOrderMaitain {
|
||||||
defList.clear();
|
defList.clear();
|
||||||
defList = getDefList("BIP-ddh");
|
defList = getDefList("BIP-ddh");
|
||||||
targetBVO.setVbdef5(defList.getOrDefault(vbdef5, ""));
|
targetBVO.setVbdef5(defList.getOrDefault(vbdef5, ""));
|
||||||
targetBVO.setVbdef10(sourceBVO.getVbdef10());// 项目名称
|
// 新增字段的setter方法
|
||||||
targetBVO.setVbdef13(sourceBVO.getVbdef13());// 国网行项目号
|
targetBVO.setVbdef10(sourceBVO.getVbdef10()); // 项目名称
|
||||||
|
targetBVO.setVbdef13(sourceBVO.getVbdef13()); // 国网行项目号
|
||||||
|
|
||||||
|
|
||||||
|
targetBVO.setVbdef18(sourceBVO.getVbdef18()); // 是否定制
|
||||||
|
targetBVO.setVbdef19(sourceBVO.getVbdef19()); // 计划开工日期
|
||||||
|
targetBVO.setVbdef20(sourceBVO.getVbdef20()); // 计划完工日期
|
||||||
|
|
||||||
|
// 更新日志输出(按需添加字段)
|
||||||
NCCForUAPLogger.debug(String.format(
|
NCCForUAPLogger.debug(String.format(
|
||||||
"cmaterialvid = [%S], vbdef1 = [%S], vbdef5 = [%S], vbdef10 = [%S], vbdef13 = [%S]",
|
"cmaterialvid = [%S], vbdef1 = [%S], vbdef5 = [%S], vbdef10 = [%S], vbdef13 = [%S], "
|
||||||
cmaterialvid, targetBVO.getVbdef1(), targetBVO.getVbdef5(), targetBVO.getVbdef10(),
|
+ " vbdef18 = [%S], vbdef19 = [%S], vbdef20 = [%S]",
|
||||||
targetBVO.getVbdef13()));
|
cmaterialvid,
|
||||||
|
targetBVO.getVbdef1(),
|
||||||
|
targetBVO.getVbdef5(),
|
||||||
|
targetBVO.getVbdef10(),
|
||||||
|
targetBVO.getVbdef13(),
|
||||||
|
targetBVO.getVbdef18(), // 是否定制
|
||||||
|
targetBVO.getVbdef19(), // 计划开工日期
|
||||||
|
targetBVO.getVbdef20() // 计划完工日期
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue