余额列表接口

This commit is contained in:
张松
2025-09-26 15:09:53 +08:00
parent 70b8a5e9cc
commit 86bff44e04

View File

@@ -71,10 +71,10 @@ public class MkShopRechargeServiceImpl extends ServiceImpl<MkShopRechargeMapper,
public MkShopRechargeVO detailApp(Long shopId) { public MkShopRechargeVO detailApp(Long shopId) {
Long mainShopId = shopInfoService.getMainIdByShopId(shopId); Long mainShopId = shopInfoService.getMainIdByShopId(shopId);
MkShopRechargeVO rechargeVO = detail(mainShopId); MkShopRechargeVO rechargeVO = detail(mainShopId);
if (rechargeVO.getShopIdList().contains(shopId)){ if ("part".equals(rechargeVO.getUseType())){
return rechargeVO; return rechargeVO.getShopIdList().contains(shopId) ? rechargeVO : null;
} }
return null; return rechargeVO;
} }
@Override @Override