|
|
|
@@ -1753,8 +1753,10 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
WxCoupon coupon = new WxCoupon(); |
|
|
|
coupon.updateTenantInfo(wxOrderCouponVo); |
|
|
|
List<Long> longs = JSON.parseArray(wxOrderCouponVo.getGiftList(), Long.class); |
|
|
|
coupon.setIds(longs); |
|
|
|
wxOrderCouponVo.setGiftCouponList(wxCouponMapper.findList(coupon)); |
|
|
|
if(longs != null && longs.size() > 0){ |
|
|
|
coupon.setIds(longs); |
|
|
|
wxOrderCouponVo.setGiftCouponList(wxCouponMapper.findList(coupon)); |
|
|
|
} |
|
|
|
} |
|
|
|
return wxOrderCouponVo; |
|
|
|
} |
|
|
|
|