|
|
|
@@ -465,6 +465,8 @@ public class WxCouponController extends BaseController { |
|
|
|
List<Long> couponIds = wxCouponChannelService.findCouponIdList(couponChannelQ); |
|
|
|
if (null != couponIds && couponIds.size() > 0 ) { |
|
|
|
wxCoupon.setIds(couponIds); |
|
|
|
}else { |
|
|
|
wxCoupon.setId(-1L); |
|
|
|
} |
|
|
|
PageInfo<WxCouponStatisVo> pageInfo = wxCouponService.findCountData(wxCoupon,tenantEntitys, pageNum, pageSize); |
|
|
|
for (WxCouponStatisVo coupon : pageInfo.getList()) { |
|
|
|
@@ -505,6 +507,8 @@ public class WxCouponController extends BaseController { |
|
|
|
List<Long> couponIds = wxCouponChannelService.findCouponIdList(couponChannelQ); |
|
|
|
if (null != couponIds && couponIds.size() > 0 ) { |
|
|
|
wxCoupon.setIds(couponIds); |
|
|
|
}else { |
|
|
|
wxCoupon.setId(-1L); |
|
|
|
} |
|
|
|
wxCouponService.exportCardData(wxCoupon,tenantEntitys, request, response); |
|
|
|
} |
|
|
|
@@ -538,6 +542,8 @@ public class WxCouponController extends BaseController { |
|
|
|
List<Long> couponIds = wxCouponChannelService.findCouponIdList(couponChannelQ); |
|
|
|
if (null != couponIds && couponIds.size() > 0 ) { |
|
|
|
wxCoupon.setIds(couponIds); |
|
|
|
}else { |
|
|
|
wxCoupon.setId(-1L); |
|
|
|
} |
|
|
|
|
|
|
|
PageInfo<WxCouponStatisVo> pageInfo = wxCouponService.findCouponData(wxCoupon, tenantEntitys, pageNum, pageSize); |
|
|
|
@@ -576,6 +582,8 @@ public class WxCouponController extends BaseController { |
|
|
|
List<Long> couponIds = wxCouponChannelService.findCouponIdList(couponChannelQ); |
|
|
|
if (null != couponIds && couponIds.size() > 0 ) { |
|
|
|
wxCoupon.setIds(couponIds); |
|
|
|
}else { |
|
|
|
wxCoupon.setId(-1L); |
|
|
|
} |
|
|
|
wxCouponService.exportCouponData(wxCoupon,tenantEntitys, request, response); |
|
|
|
} |
|
|
|
|