Commit 1a953917 authored by huyuchen's avatar huyuchen

问题修复

parent 65d2bfab
...@@ -1950,6 +1950,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -1950,6 +1950,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
} }
} }
detailList.add(detail); detailList.add(detail);
this.updateById(detail);
try { try {
//获取项目信息 //获取项目信息
if (null != mapSelectVo) { if (null != mapSelectVo) {
...@@ -2042,9 +2043,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -2042,9 +2043,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
log.info("登记保单保费一条耗时:" + (d2 - d1)); log.info("登记保单保费一条耗时:" + (d2 - d1));
} }
//批量更新和插入数据 //批量更新和插入数据
if (!detailList.isEmpty()) {
this.updateBatchById(detailList);
}
if (!settleList.isEmpty()) { if (!settleList.isEmpty()) {
tInsuranceSettleService.updateBatchById(settleList); tInsuranceSettleService.updateBatchById(settleList);
settleList.clear(); settleList.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment