Commit c7943fd6 authored by hongguangwu's avatar hongguangwu

MVP1.5.1-收入证明等

parent defed433
......@@ -143,7 +143,7 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
// 创建一个线程池
ExecutorService pool = Executors.newFixedThreadPool(taskSize);
List<Future> listF = new ArrayList<>();
if (noCurlist.size()>=50) {
if (noCurlist.size()>=4) {
int l = 4;
Callable c;
Future f;
......@@ -200,7 +200,8 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
bankMap.put(no.getBankNo(), false)
*/
if (!saveList.isEmpty()) {
this.saveBatch(saveList);
this.saveOrUpdateBatch(saveList);
saveList.clear();
}
}
vo.setCheckMap(bankMap);
......
......@@ -237,7 +237,7 @@ public class TCheckMobileServiceImpl extends ServiceImpl<TCheckMobileMapper, TCh
}
}
if (!saveList.isEmpty()) {
this.saveBatch(saveList);
this.saveOrUpdateBatch(saveList);
}
saveList.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