| File was renamed from eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/service/SysContractService.java |
| | |
| | | */ |
| | | package me.zhengjie.modules.system.service; |
| | | |
| | | import me.zhengjie.modules.system.domain.SysContract; |
| | | import me.zhengjie.modules.system.service.dto.SysContractDto; |
| | | import me.zhengjie.modules.system.service.dto.SysContractQueryCriteria; |
| | | import me.zhengjie.modules.system.domain.SysUserContract; |
| | | import me.zhengjie.modules.system.service.dto.SysUserContractDto; |
| | | import me.zhengjie.modules.system.service.dto.SysUserContractQueryCriteria; |
| | | import org.springframework.data.domain.Pageable; |
| | | import java.util.Map; |
| | | import java.util.List; |
| | |
| | | * @author wcd |
| | | * @date 2023-01-31 |
| | | **/ |
| | | public interface SysContractService { |
| | | public interface SysUserContractService { |
| | | |
| | | /** |
| | | * 查询数据分页 |
| | |
| | | * @param pageable 分页参数 |
| | | * @return Map<String,Object> |
| | | */ |
| | | Map<String,Object> queryAll(SysContractQueryCriteria criteria, Pageable pageable); |
| | | Map<String,Object> queryAll(SysUserContractQueryCriteria criteria, Pageable pageable); |
| | | |
| | | /** |
| | | * 查询所有数据不分页 |
| | | * @param criteria 条件参数 |
| | | * @return List<SysContractDto> |
| | | */ |
| | | List<SysContractDto> queryAll(SysContractQueryCriteria criteria); |
| | | List<SysUserContractDto> queryAll(SysUserContractQueryCriteria criteria); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * @param id ID |
| | | * @return SysContractDto |
| | | */ |
| | | SysContractDto findById(Long id); |
| | | SysUserContractDto findById(Long id); |
| | | |
| | | /** |
| | | * 创建 |
| | | * @param resources / |
| | | * @return SysContractDto |
| | | */ |
| | | SysContractDto create(SysContract resources); |
| | | SysUserContractDto create(SysUserContract resources); |
| | | |
| | | /** |
| | | * 编辑 |
| | | * @param resources / |
| | | */ |
| | | void update(SysContract resources); |
| | | void update(SysUserContract resources); |
| | | |
| | | /** |
| | | * 多选删除 |
| | |
| | | * @param response / |
| | | * @throws IOException / |
| | | */ |
| | | void download(List<SysContractDto> all, HttpServletResponse response) throws IOException; |
| | | void download(List<SysUserContractDto> all, HttpServletResponse response) throws IOException; |
| | | } |