Commit 6f2b15dc authored by huyuchen's avatar huyuchen

优化修改

parent c5486f32
...@@ -1532,21 +1532,21 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -1532,21 +1532,21 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
} }
//工伤 //工伤
if (!batchGsInsertList.isEmpty()) { if (!batchGsInsertList.isEmpty()) {
list = new ArrayList<>(batchYlInsertList.values()); list = new ArrayList<>(batchGsInsertList.values());
this.saveBatch(list); this.saveBatch(list);
batchGsInsertList.clear(); batchGsInsertList.clear();
list.clear(); list.clear();
} }
//医疗 //医疗
if (!batchYyInsertList.isEmpty()) { if (!batchYyInsertList.isEmpty()) {
list = new ArrayList<>(batchYlInsertList.values()); list = new ArrayList<>(batchYyInsertList.values());
this.saveBatch(list); this.saveBatch(list);
batchYyInsertList.clear(); batchYyInsertList.clear();
list.clear(); list.clear();
} }
//失业 //失业
if (!batchSyInsertList.isEmpty()) { if (!batchSyInsertList.isEmpty()) {
list = new ArrayList<>(batchYlInsertList.values()); list = new ArrayList<>(batchSyInsertList.values());
this.saveBatch(list); this.saveBatch(list);
batchSyInsertList.clear(); batchSyInsertList.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