获取霸王餐配置修改
This commit is contained in:
parent
bbec3575e7
commit
2b286e6a07
|
|
@ -141,7 +141,7 @@ public class PayServiceImpl implements PayService {
|
||||||
throw new ValidateException("充值金额不正确");
|
throw new ValidateException("充值金额不正确");
|
||||||
}
|
}
|
||||||
if (payParam.getOrderId() != null) {
|
if (payParam.getOrderId() != null) {
|
||||||
FreeDineConfig freeConfig = freeConfigService.getById(payParam.getShopId());
|
FreeDineConfig freeConfig = freeConfigService.getById(shopInfoService.getMainIdByShopId(payParam.getShopId()));
|
||||||
AssertUtil.isNull(freeConfig, "该店铺未启用霸王餐");
|
AssertUtil.isNull(freeConfig, "该店铺未启用霸王餐");
|
||||||
if (!freeConfig.getEnable()) {
|
if (!freeConfig.getEnable()) {
|
||||||
throw new CzgException("该店铺未启用霸王餐");
|
throw new CzgException("该店铺未启用霸王餐");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue