Commit 18ab3590 by zhengxj

finish 订单详情-补贴信息 20200114 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25822 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 5a4df90c
......@@ -4539,6 +4539,10 @@ public class OrderServiceImpl implements IOrderService {
sysOrderSubsidyMapper.deleteByOrderId(orderId);
List<SysOrderSubsidy> sosList = saveOrderSubsidyInfoReq.getSysOrderSubsidy();
if (!sosList.isEmpty()) {
for (SysOrderSubsidy subsidy : sosList) {
subsidy.setCreateBy(userId);
subsidy.setOrderId(orderId);
}
sysOrderSubsidyMapper.insertBatchOrderSubsidies(sosList);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!