This commit is contained in:
77
2024-05-10 15:19:30 +08:00
parent b94c5b1028
commit 0308919d04

View File

@@ -68,7 +68,6 @@ public class BusOp {
while (true){ while (true){
List<SysOperLog> list = sysOperLogMapper.selectList(Wrappers.lambdaUpdate(SysOperLog.class) List<SysOperLog> list = sysOperLogMapper.selectList(Wrappers.lambdaUpdate(SysOperLog.class)
.lt(SysOperLog::getOperTime, copyTimeFlag) .lt(SysOperLog::getOperTime, copyTimeFlag)
.orderByDesc(SysOperLog::getOperTime)
.last("limit 300")); .last("limit 300"));
if(current > 500 || CollectionUtils.isEmpty(list)){ if(current > 500 || CollectionUtils.isEmpty(list)){
break; break;