123
This commit is contained in:
@@ -48,7 +48,7 @@ public class UserChatRecordServiceImpl extends ServiceImpl<UserChatRecordMapper,
|
||||
List<UserChatRecord> list = this.list(Wrappers.lambdaUpdate(UserChatRecord.class)
|
||||
.lt(UserChatRecord::getCreateTime, deleteTimeFlag)
|
||||
.last("limit 100"));
|
||||
if(index > 500 || CollectionUtils.isEmpty(list)){
|
||||
if(index > 5000 || CollectionUtils.isEmpty(list)){
|
||||
break;
|
||||
}
|
||||
index++;
|
||||
|
||||
Reference in New Issue
Block a user