|
|
|
@@ -13,6 +13,7 @@ import com.iformall.domain.vo.WxCouponChannelAddVo; |
|
|
|
import com.iformall.domain.vo.WxCouponChannelVo; |
|
|
|
import com.iformall.domain.vo.WxMerchantVo; |
|
|
|
import com.iformall.enums.*; |
|
|
|
import com.iformall.mapper.WxCardInfoMapper; |
|
|
|
import com.iformall.mapper.WxCouponChannelMapper; |
|
|
|
import com.iformall.mapper.WxCouponMerchantMapper; |
|
|
|
import com.iformall.mapper.WxMerchantMapper; |
|
|
|
@@ -43,6 +44,8 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
WxOrderService wxOrderService; |
|
|
|
@Autowired |
|
|
|
QrCodeService qrCodeService; |
|
|
|
@Autowired |
|
|
|
WxCardInfoMapper wxCardInfoMapper; |
|
|
|
|
|
|
|
/** |
|
|
|
* B端业务端 |
|
|
|
@@ -107,6 +110,8 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
wxCoupon.setSupportTransfer(EnumCouponTransfer.NO.getCode()); |
|
|
|
wxCoupon.setUpdateDate(new Date()); |
|
|
|
wxCouponService.update(wxCoupon); |
|
|
|
//修改卡状态 |
|
|
|
wxCardInfoMapper.updateTransferStatusByCouponId(orignal.getCouponId()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|