Commit 050c74b1 authored by fangxinjiang's avatar fangxinjiang

fxj 20240606 调试

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