fix(so): 修复计划开工日期和计划完工日期的判空
This commit is contained in:
parent
4a824b44f3
commit
ae65961106
|
@ -719,10 +719,14 @@ public class APISaleOrderMaitainImpl implements IAPISaleOrderMaitain {
|
||||||
|
|
||||||
|
|
||||||
targetBVO.setVbdef18(sourceBVO.getVbdef18()); // 是否定制
|
targetBVO.setVbdef18(sourceBVO.getVbdef18()); // 是否定制
|
||||||
targetBVO.setVbdef19(sourceBVO.getVbdef19()); // 计划开工日期
|
|
||||||
targetBVO.setVbdef20(sourceBVO.getVbdef20()); // 计划完工日期
|
|
||||||
targetBVO.setVbdef14(sourceBVO.getVbdef14()); // 合同销售订单变更明细id
|
targetBVO.setVbdef14(sourceBVO.getVbdef14()); // 合同销售订单变更明细id
|
||||||
targetBVO.setCrowno(sourceBVO.getCrowno()); // 行号
|
targetBVO.setCrowno(sourceBVO.getCrowno()); // 行号
|
||||||
|
if (StringUtils.isNotEmpty(sourceBVO.getVbdef19())) {
|
||||||
|
targetBVO.setVbdef19(sourceBVO.getVbdef19()); // 计划开工日期
|
||||||
|
}
|
||||||
|
if (StringUtils.isNotEmpty(sourceBVO.getVbdef20())) {
|
||||||
|
targetBVO.setVbdef20(sourceBVO.getVbdef20()); // 计划完工日期
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue