|
- package com.simple.service;
-
- import java.util.*;
- import com.github.pagehelper.PageInfo;
- import com.simple.domain.po.WxCoupon;
- import com.simple.domain.vo.CouponListReq;
-
- public interface WxCouponService {
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @param pageIndex
- * @param pageSize
- * @return
- */
- PageInfo<WxCoupon> listAsPage(WxCoupon record, Integer pageIndex, Integer pageSize);
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @param pageIndex
- * @param pageSize
- * @return
- */
- PageInfo<WxCoupon> findEnableList(WxCoupon record, Integer pageIndex, Integer pageSize);
-
- /**
- * 根据Id获得实体
- *
- * @param id
- * @return
- */
- WxCoupon getById(Long id);
-
- /**
- * 保存或更新实体
- *
- * @param record
- */
- Long saveOrUpdate(WxCoupon record);
-
- /**
- * 根据Id删除实体
- *
- * @param id
- */
- void deleteById(Long id);
-
-
-
-
-
-
-
-
- }
|