余额列表接口
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user