Преглед изворни кода

fix bug

release_toaliyun_real
xiaohanzi пре 5 година
родитељ
комит
26c78132cc
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java Прегледај датотеку

@@ -149,7 +149,8 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
WxMall mall = wxMallMapper.getByTenantId(tenantEntity.getTenantId());
if (mall.getSaleType().intValue() == 4 ) {
if (null != type && (type.equals(String.valueOf(EnumCouponType.COUPON_PRESS.getCode().intValue()))
|| type.equals(String.valueOf(EnumCouponType.COUPON_GROUP.getCode().intValue())))) {
|| type.equals(String.valueOf(EnumCouponType.COUPON_GROUP.getCode().intValue()))
|| type.equals(String.valueOf(EnumCouponType.COUPON_PREORDER.getCode().intValue())))) {
if (null != ids && ids.length > 1) {
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_EXISTED.getCode(),"该版本【拼团】、【砍价】、【限时抢购】、【预售】线上只能投放一个,请勾选一个。");
}


Loading…
Откажи
Сачувај