temp
This commit is contained in:
parent
4eb931686e
commit
2a02e17c15
|
|
@ -1151,12 +1151,13 @@ public class SalaryAcctResultServiceImpl extends Service implements SalaryAcctRe
|
|||
});
|
||||
// 入库
|
||||
if (CollectionUtils.isNotEmpty(needUpdateList)) {
|
||||
getSalaryAcctResultMapper().batchUpdate(needUpdateList);
|
||||
}
|
||||
// 数据加密
|
||||
encryptUtil.encryptList(needUpdateList, SalaryAcctResultPO.class);
|
||||
List<List<SalaryAcctResultPO>> partition = Lists.partition(needUpdateList, 100);
|
||||
partition.forEach(getSalaryAcctResultMapper()::batchUpdate);
|
||||
|
||||
if (CollectionUtils.isNotEmpty(needInsertList)) {
|
||||
getSalaryAcctResultMapper().batchInsert(needInsertList);
|
||||
}
|
||||
batchSave(needInsertList);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue