余额列表仅展示充值过的
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user