余额列表仅展示充值过的
This commit is contained in:
parent
1152ea91fe
commit
cbef1e5fd4
|
|
@ -192,7 +192,7 @@ public class MkShopRechargeServiceImpl extends ServiceImpl<MkShopRechargeMapper,
|
|||
@Override
|
||||
public List<RechargeListVO> getList(long loginIdAsLong) {
|
||||
ArrayList<RechargeListVO> rechargeListVOS = new ArrayList<>();
|
||||
List<ShopUser> shopUserList = shopUserService.list(new QueryWrapper().eq(ShopUser::getUserId, loginIdAsLong));
|
||||
List<ShopUser> shopUserList = shopUserService.list(new QueryWrapper().eq(ShopUser::getUserId, loginIdAsLong).isNotNull(ShopUser::getAmount));
|
||||
if (shopUserList.isEmpty()) {
|
||||
return rechargeListVOS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue