Просмотр исходного кода

//..hexiao

release_toaliyun_real
xhxu 2 лет назад
Родитель
Сommit
dec8bed84b
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mallinkBApi/src/main/java/com/iformall/controller/WxCouponOrderReservationController.java

+ 1
- 1
mallinkBApi/src/main/java/com/iformall/controller/WxCouponOrderReservationController.java Просмотреть файл

@@ -175,7 +175,7 @@ public class WxCouponOrderReservationController extends BaseController {
if(!EnumMerchantAdmin.REGIONAL.getCode().equals(loginMerchant.getIsAdmin())){ if(!EnumMerchantAdmin.REGIONAL.getCode().equals(loginMerchant.getIsAdmin())){
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"非区域商户,核销失败"); return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"非区域商户,核销失败");
} }
List<Long> subMerchantIds = wxMerchantRelationService.getRelationByRegionId(merchant.getId());
List<Long> subMerchantIds = wxMerchantRelationService.getRelationByRegionId(merchantId);
if(!subMerchantIds.contains(sortReservation.getReservationMerchantId())){ if(!subMerchantIds.contains(sortReservation.getReservationMerchantId())){
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"区域门店不匹配,核销失败"); return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"区域门店不匹配,核销失败");
} }


Загрузка…
Отмена
Сохранить