充值可用店铺列表

This commit is contained in:
张松
2025-09-28 18:09:50 +08:00
parent a12b87d47e
commit d586eb0cac
3 changed files with 21 additions and 1 deletions

View File

@@ -225,13 +225,14 @@ public class MkShopRechargeServiceImpl extends ServiceImpl<MkShopRechargeMapper,
q1.eq(ShopInfo::getId, mainShopId);
});
});
shopIdList = null;
}else {
shopIdList.add(shopId);
queryWrapper.in(ShopInfo::getId, shopIdList);
}
return shopInfoService.list(queryWrapper)
return shopInfoService.getByMainIdOrList(mainShopId, shopIdList, shopName)
.stream()
.map(shop -> BeanUtil.copyProperties(shop, MkShopRechargeShopListVO.class))
.toList();