fix: 修改
parent
0d0623276b
commit
cf9be203b1
|
@ -202,7 +202,8 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
|||
Assert.notNull(loginUser, "登录失效,请重新登录!");
|
||||
List<RechargeOrderDO> orderDOS = rechargeOrderMapper.selectList(Wrappers.<RechargeOrderDO>lambdaQuery()
|
||||
.eq(RechargeOrderDO::getUid, loginUser.getId())
|
||||
.ne(RechargeOrderDO::getPaid, 1)
|
||||
.eq(RechargeOrderDO::getPaid, 1)
|
||||
.eq(RechargeOrderDO::getRefundStatus, 0)
|
||||
.orderByDesc(RechargeOrderDO::getCreateTime));
|
||||
if (!CollectionUtils.isEmpty(orderDOS)) {
|
||||
List<RechargeOrderRespVO> rechargeOrderRespVOS = RechargeOrderConvert.INSTANCE.convertList(orderDOS);
|
||||
|
@ -317,7 +318,9 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
|||
@Override
|
||||
public List<RechargeOrderRespVO> memberOrderInfoByPhone(String phone) {
|
||||
List<RechargeOrderDO> orderDOS = rechargeOrderMapper.selectList(Wrappers.<RechargeOrderDO>lambdaQuery()
|
||||
.eq(RechargeOrderDO::getUserPhone, phone).eq(RechargeOrderDO::getPaid, 1));
|
||||
.eq(StringUtils.isNotBlank(phone), RechargeOrderDO::getUserPhone, phone)
|
||||
.eq(RechargeOrderDO::getRefundStatus, 0)
|
||||
.eq(RechargeOrderDO::getPaid, 1));
|
||||
if (!CollectionUtils.isEmpty(orderDOS)) {
|
||||
List<RechargeOrderRespVO> rechargeOrderRespVOS = RechargeOrderConvert.INSTANCE.convertList(orderDOS);
|
||||
List<String> collect1 = rechargeOrderRespVOS.stream().map(RechargeOrderBaseVO::getOrderId).collect(Collectors.toList());
|
||||
|
|
Loading…
Reference in New Issue