Explorar el Código

//tt product

release_toaliyun_real
xhxu hace 4 años
padre
commit
4c87f580db
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      mallinkCApi/src/main/java/com/iformall/controller/WxCouponController.java

+ 5
- 1
mallinkCApi/src/main/java/com/iformall/controller/WxCouponController.java Ver fichero

@@ -110,7 +110,11 @@ public class WxCouponController extends BaseController {
if (null == coupon) {
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "couponChannel找不到coupon" + couponChannelId);
}
if(EnumCouponType.COUPON_GIFT.getCode().equals(coupon.getType())){
WxCoupon attrsById = couponService.getAttrsById(couponChannel.getCouponId(), couponChannel.getTenantId());
coupon.setProductAttrs(attrsById.getProductAttrs());
coupon.setSkuAttrs(attrsById.getSkuAttrs());

if(EnumCouponType.COUPON_GIFT.getCode().equals(coupon.getType())){
WxCoupon couponQ = new WxCoupon();
couponQ.updateTenantInfo(coupon);
List<Long> longs = JSON.parseArray(coupon.getGiftList(), Long.class);


Cargando…
Cancelar
Guardar