处理钱包日志

This commit is contained in:
TinyAnts 2023-04-03 16:34:25 +08:00
parent 36bb1f7b7d
commit 0ba266804b
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class LogsServiceImpl implements ILogsService {
Integer pageSize = pageValidate.getPageSize();
QueryWrapper<LogMoney> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("user_id", userId);
queryWrapper.orderByDesc("id");
if (type > 0) {
queryWrapper.eq("action", type);