充值修改
This commit is contained in:
parent
cd481bd9e9
commit
970994b51a
|
|
@ -513,7 +513,7 @@ public class PayServiceImpl implements PayService {
|
||||||
boolean isFree = checkPayVip(rechargeDTO);
|
boolean isFree = checkPayVip(rechargeDTO);
|
||||||
Long mainShopId = shopInfoService.getMainIdByShopId(rechargeDTO.getShopId());
|
Long mainShopId = shopInfoService.getMainIdByShopId(rechargeDTO.getShopId());
|
||||||
|
|
||||||
ShopUser shopUser = shopUserService.getOne(new QueryWrapper().eq(ShopUser::getMainShopId,mainShopId))
|
ShopUser shopUser = shopUserService.getOne(new QueryWrapper().eq(ShopUser::getMainShopId,mainShopId)
|
||||||
.eq(ShopUser::getId, shopUserId));
|
.eq(ShopUser::getId, shopUserId));
|
||||||
AssertUtil.isNull(shopUser, "充值失败 该店铺用户不存在");
|
AssertUtil.isNull(shopUser, "充值失败 该店铺用户不存在");
|
||||||
MkShopRechargeVO rechargeVO = shopRechargeService.detail(rechargeDTO.getShopId());
|
MkShopRechargeVO rechargeVO = shopRechargeService.detail(rechargeDTO.getShopId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue