|
|
|
@@ -3,6 +3,7 @@ package com.iformall.controller; |
|
|
|
import com.iformall.common.ErrorCode; |
|
|
|
import com.iformall.common.ResultData; |
|
|
|
import com.iformall.domain.po.tt.TtCoupon; |
|
|
|
import com.iformall.enums.EnumTtCouponStatus; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.service.tt.TtCouponService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
@@ -32,6 +33,7 @@ public class TtCouponController extends BaseController { |
|
|
|
public ResultData list(@ModelAttribute TtCoupon record, Integer pageNum, Integer pageSize, Integer dataType) { |
|
|
|
logger.debug("[" + getIpAddr() + "] TtCouponController::list"); |
|
|
|
if (record == null) record = new TtCoupon(); |
|
|
|
record.setStatus(EnumTtCouponStatus.TTCOUPON_STATUS_SHELFING.getCode()); |
|
|
|
return new ResultData(ttCouponService.listAsPage(record, pageNum, pageSize)); |
|
|
|
} |
|
|
|
|
|
|
|
|