fix: 只查询已付款的订单
parent
d471605d9b
commit
81f1fb70b9
|
@ -202,7 +202,7 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
|||
Assert.notNull(loginUser, "登录失效,请重新登录!");
|
||||
List<RechargeOrderDO> orderDOS = rechargeOrderMapper.selectList(Wrappers.<RechargeOrderDO>lambdaQuery()
|
||||
.eq(RechargeOrderDO::getUid, loginUser.getId())
|
||||
.ne(RechargeOrderDO::getPaid, 0)
|
||||
.ne(RechargeOrderDO::getPaid, 1)
|
||||
.orderByDesc(RechargeOrderDO::getCreateTime));
|
||||
if (!CollectionUtils.isEmpty(orderDOS)) {
|
||||
List<RechargeOrderRespVO> rechargeOrderRespVOS = RechargeOrderConvert.INSTANCE.convertList(orderDOS);
|
||||
|
|
Loading…
Reference in New Issue