@author Exrickx
| 12 | * @author Exrickx |
| 13 | */ |
| 14 | public interface PayService { |
| 15 | |
| 16 | /** |
| 17 | * 分页获取支付列表 |
| 18 | * @param state |
| 19 | * @param key |
| 20 | * @param pageable |
| 21 | * @return |
| 22 | */ |
| 23 | Page<Pay> getPayListByPage(Integer state, String key, Pageable pageable); |
| 24 | |
| 25 | /** |
| 26 | * 获得支付表 |
| 27 | * @param state |
| 28 | * @return |
| 29 | */ |
| 30 | List<Pay> getPayList(Integer state); |
| 31 | |
| 32 | /** |
| 33 | * 获得支付 |
| 34 | * @param id |
| 35 | * @return |
| 36 | */ |
| 37 | Pay getPay(String id); |
| 38 | |
| 39 | /** |
| 40 | * 添加支付 |
| 41 | * @param pay |
| 42 | * @return |
| 43 | */ |
| 44 | int addPay(Pay pay); |
| 45 | |
| 46 | /** |
| 47 | * 编辑支付 |
| 48 | * @param pay |
| 49 | * @return |
| 50 | */ |
| 51 | int updatePay(Pay pay); |
| 52 | |
| 53 | /** |
| 54 | * 状态改变 |
| 55 | * @param id |
| 56 | * @param state |
| 57 | * @return |
| 58 | */ |
| 59 | int changePayState(String id,Integer state); |
| 60 | |
| 61 | /** |
| 62 | * 删除除捐赠和审核中以外的数据支付 |
| 63 | * @param id |
| 64 | * @return |
| 65 | */ |
| 66 | int delPay(String id); |
| 67 | |
| 68 | /** |
| 69 | * 统计数据 |
| 70 | * @param type |
| 71 | * @param start |
no outgoing calls
no test coverage detected