| 对比新文件 |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.Coupon; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface CouponService { |
| | | |
| | | Integer create(Coupon coupon); |
| | | |
| | | void deleteById(Integer id); |
| | | |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | void updateById(Coupon coupon); |
| | | |
| | | void updateStatus(Coupon coupon); |
| | | |
| | | Coupon findById(Integer id); |
| | | |
| | | List<Coupon> findList(Coupon coupon); |
| | | |
| | | PageData<Coupon> findPage(PageWrap<Coupon> pageWrap); |
| | | |
| | | long count(Coupon coupon); |
| | | |
| | | List<Coupon> findValidList(); |
| | | } |