赵士淞
2023-02-01 4c5492749f68386b2fd995988559e8d3ebc97ab5
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/service/SysUserContractService.java
File was renamed from eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/service/SysContractService.java
@@ -15,9 +15,9 @@
*/
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;
@@ -30,7 +30,7 @@
* @author wcd
* @date 2023-01-31
**/
public interface SysContractService {
public interface SysUserContractService {
    /**
    * 查询数据分页
@@ -38,34 +38,34 @@
    * @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);
    /**
    * 多选删除
@@ -79,5 +79,5 @@
    * @param response /
    * @throws IOException /
    */
    void download(List<SysContractDto> all, HttpServletResponse response) throws IOException;
    void download(List<SysUserContractDto> all, HttpServletResponse response) throws IOException;
}