|
|
|
@@ -1,6 +1,7 @@ |
|
|
|
package com.simple.controller; |
|
|
|
|
|
|
|
import com.simple.domain.vo.WxCouponChannelVo; |
|
|
|
import com.simple.enums.EnumCouponChannelStatus; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import org.apache.log4j.Logger; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@@ -37,7 +38,7 @@ public class WxCouponChannelController extends BaseController |
|
|
|
public ResultData list(@ModelAttribute WxCouponChannel wxCouponChannel,Integer pageNum, Integer pageSize) { |
|
|
|
if (null == wxCouponChannel) wxCouponChannel = new WxCouponChannel(); |
|
|
|
wxCouponChannel.setTenantId(getTenantId()); |
|
|
|
wxCouponChannel.setStatus(0); |
|
|
|
wxCouponChannel.setStatus(EnumCouponChannelStatus.STATUS_THROW_IN.getCode()); |
|
|
|
wxCouponChannel.setSortColumns(WxCouponChannel.Field.CreateDate_DESC); |
|
|
|
final PageInfo<WxCouponChannelVo> page = wxCouponChannelService.listPageCAPI(wxCouponChannel, pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
|