|
|
|
@@ -6,6 +6,7 @@ import java.util.*; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.iformall.common.ErrorCode; |
|
|
|
import com.iformall.domain.po.BaseEntity; |
|
|
|
import com.iformall.domain.po.WxCouponActionLog; |
|
|
|
import com.iformall.domain.vo.WxCouponActionLogVo; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
@@ -79,6 +80,7 @@ public class WxCouponActionLogServiceImpl implements WxCouponActionLogService { |
|
|
|
if (CollectionUtils.isEmpty(params) || Objects.isNull(channelType)) { |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
} |
|
|
|
params.put("sortColumns", BaseEntity.SortField.CreateTime_DESC) ; |
|
|
|
return PageHelper.startPage(pageNum, pageSize).doSelectPageInfo(() -> wxCouponActionLogMapper.getActionLog(params)); |
|
|
|
} |
|
|
|
|
|
|
|
|