|
|
@ -219,7 +219,12 @@ public class SysSalesOrderServiceImpl implements ISysSalesOrderService |
|
|
|
sysSalesOrderChildService.deleteSysSalesOrderChildByQuoteId(sysSalesOrder.getSalesOrderCode()); |
|
|
|
for (int i = 0; i < sysSalesOrderChildList.size(); i++) { |
|
|
|
SysSalesOrderChild sysSalesOrderChild = sysSalesOrderChildList.get(i); |
|
|
|
sysSalesOrderChildService.updateSysSalesOrderChild(sysSalesOrderChild); |
|
|
|
sysSalesOrderChild.setQuoteId(sysSalesOrder.getSalesOrderCode()); |
|
|
|
sysSalesOrderChild.setCreateBy(loginName); |
|
|
|
sysSalesOrderChild.setCreateTime(DateUtils.getNowDate()); |
|
|
|
sysSalesOrderChild.setUpdateBy(loginName); |
|
|
|
sysSalesOrderChild.setUpdateTime(DateUtils.getNowDate()); |
|
|
|
sysSalesOrderChildService.insertSysSalesOrderChild(sysSalesOrderChild); |
|
|
|
} |
|
|
|
} |
|
|
|
int result = sysSalesOrderMapper.updateSysSalesOrder(sysSalesOrder); |
|
|
|