修复已知bug

This commit is contained in:
2024-07-27 16:57:12 +08:00
parent 93fed9a780
commit 0976532f84
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ public class PaymentController extends BaseController {
final String string = redisUtil.get(key);
final List<Payment> paymentList = JSONObject.parseArray(string, Payment.class);
if (!CollectionUtils.isEmpty(paymentList)) {
return success(paymentList);
// return success(paymentList);
}
// 使用关联查询
final List<Payment> list = paymentService.list(new LambdaUpdateWrapper<Payment>().eq(Payment::getStatus, true));

View File

@@ -23,7 +23,7 @@ public class UserBalanceLogServiceImpl extends ServiceImpl<UserBalanceLogMapper,
@Override
public PageResult<UserBalanceLog> pageRel(UserBalanceLogParam param) {
PageParam<UserBalanceLog, UserBalanceLogParam> page = new PageParam<>(param);
page.setDefaultOrder("create_time desc");
page.setDefaultOrder("create_time asc");
List<UserBalanceLog> list = baseMapper.selectPageRel(page, param);
return new PageResult<>(list, page.getTotal());
}