Commit 050c74b1 authored by fangxinjiang's avatar fangxinjiang

fxj 20240606 调试

parent a5463b9b
......@@ -23,6 +23,7 @@ import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
......@@ -1824,6 +1825,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if (!batchYlInsertList.isEmpty()) {
list = new ArrayList<>(batchYlInsertList.values());
this.saveBatch(list);
log.error("实缴导入错误信息-养老:" + list.size());
batchYlInsertList.clear();
list.clear();
}
......@@ -1831,6 +1833,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if (!batchGsInsertList.isEmpty()) {
list = new ArrayList<>(batchGsInsertList.values());
this.saveBatch(list);
log.error("实缴导入错误信息-工伤:" + list.size());
batchGsInsertList.clear();
list.clear();
}
......@@ -1838,6 +1841,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if (!batchYyInsertList.isEmpty()) {
list = new ArrayList<>(batchYyInsertList.values());
this.saveBatch(list);
log.error("实缴导入错误信息-医疗:" + list.size());
batchYyInsertList.clear();
list.clear();
}
......@@ -1845,6 +1849,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if (!batchSyInsertList.isEmpty()) {
list = new ArrayList<>(batchSyInsertList.values());
this.saveBatch(list);
log.error("实缴导入错误信息-失业:" + list.size());
batchSyInsertList.clear();
list.clear();
}
......@@ -1852,6 +1857,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if (!batchBigInsertList.isEmpty()) {
list = new ArrayList<>(batchBigInsertList.values());
this.saveBatch(list);
log.error("实缴导入错误信息-大病:" + list.size());
batchBigInsertList.clear();
list.clear();
}
......@@ -1859,6 +1865,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
if (!batchBirthInsertList.isEmpty()) {
list = new ArrayList<>(batchBirthInsertList.values());
this.saveBatch(list);
log.error("实缴导入错误信息-生育:" + list.size());
batchBirthInsertList.clear();
list.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