package com.ycl.platform.service;
|
|
import com.ycl.platform.domain.entity.CheckRule;
|
import com.ycl.platform.domain.query.CheckRuleQuery;
|
import com.ycl.platform.domain.vo.CheckRuleVO;
|
|
import java.util.List;
|
|
/**
|
* 考核规则Service接口
|
*
|
* @author ruoyi
|
* @date 2024-04-01
|
*/
|
public interface ICheckRuleService
|
{
|
/**
|
* 查询考核规则
|
*
|
* @param id 考核规则主键
|
* @return 考核规则
|
*/
|
public CheckRuleVO selectCheckRuleById(Long id);
|
|
/**
|
* 查询考核规则列表
|
*
|
* @param checkRuleQuery 考核规则
|
* @return 考核规则集合
|
*/
|
public List<CheckRuleVO> selectCheckRuleList(CheckRuleQuery checkRuleQuery);
|
|
/**
|
* 新增考核规则
|
*
|
* @param checkRule 考核规则
|
* @return 结果
|
*/
|
public int insertCheckRule(CheckRule checkRule);
|
|
/**
|
* 修改考核规则
|
*
|
* @param checkRule 考核规则
|
* @return 结果
|
*/
|
public int updateCheckRule(CheckRule checkRule);
|
|
/**
|
* 批量删除考核规则
|
*
|
* @param ids 需要删除的考核规则主键集合
|
* @return 结果
|
*/
|
public int deleteCheckRuleByIds(Long[] ids);
|
|
/**
|
* 删除考核规则信息
|
*
|
* @param id 考核规则主键
|
* @return 结果
|
*/
|
public int deleteCheckRuleById(Long id);
|
}
|