| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import com.yeshi.fanli.entity.push.PushCoupon;
|
| | | import com.yeshi.fanli.exception.push.PushCouponException;
|
| | | import com.yeshi.fanli.exception.push.PushException;
|
| | |
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public List<PushCoupon> listQuery(long start, int count, String key, Integer state);
|
| | | public List<PushCoupon> listQuery(long start, int count, String key, Integer state, SystemEnum system);
|
| | |
|
| | | public long countQuery(String key, Integer state) throws PushCouponException;
|
| | | public long countQuery(String key, Integer state, SystemEnum system) throws PushCouponException;
|
| | |
|
| | |
|
| | | public void save(PushCoupon record) throws PushCouponException, Exception;
|
| | |
| | | * 有效活动
|
| | | * @return
|
| | | */
|
| | | public List<PushCoupon> listQueryEffective();
|
| | | public List<PushCoupon> listQueryEffective( SystemEnum system);
|
| | |
|
| | |
|
| | | }
|