|
|
|
@@ -83,16 +83,18 @@ public class WxCouponController extends BaseController { |
|
|
|
wxCoupon.setSortColumns(coryColumn); |
|
|
|
wxCoupon.setSortColumn(null); |
|
|
|
} |
|
|
|
if(wxCoupon.getTargetAd() != null && wxCoupon.getTargetAd() == EnumCouponChannelType.COUPON_CHANNEL_ID_TIMED.getCode()){ |
|
|
|
Integer[] typeArray = { |
|
|
|
EnumCouponType.COUPON_MANJIAN.getCode(), |
|
|
|
EnumCouponType.COUPON_DAIJIN.getCode(), |
|
|
|
EnumCouponType.COUPON_LIPIN.getCode(), |
|
|
|
EnumCouponType.COUPON_TINGCHE.getCode(), |
|
|
|
EnumCouponType.COUPON_MULTIMCH.getCode()}; |
|
|
|
|
|
|
|
wxCoupon.setTypes(Arrays.asList(typeArray)); |
|
|
|
|
|
|
|
if(wxCoupon.getTargetAd() != null ){ |
|
|
|
if(wxCoupon.getTargetAd() == EnumCouponChannelType.COUPON_CHANNEL_ID_TIMED.getCode() |
|
|
|
|| wxCoupon.getTargetAd() == EnumCouponChannelType.COUPON_CHANNEL_ID_GAME.getCode()){ |
|
|
|
Integer[] typeArray = { |
|
|
|
EnumCouponType.COUPON_MANJIAN.getCode(), |
|
|
|
EnumCouponType.COUPON_DAIJIN.getCode(), |
|
|
|
EnumCouponType.COUPON_LIPIN.getCode(), |
|
|
|
EnumCouponType.COUPON_TINGCHE.getCode(), |
|
|
|
EnumCouponType.COUPON_MULTIMCH.getCode()}; |
|
|
|
|
|
|
|
wxCoupon.setTypes(Arrays.asList(typeArray)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(!(isList == null?false:isList) && wxCoupon.getSendType() == null){ |
|
|
|
|