package com.ycl.platform.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ycl.platform.domain.entity.ContractResult;
|
import com.ycl.platform.domain.entity.ContractResultRecord;
|
import com.ycl.platform.domain.vo.ContractResultVO;
|
|
import java.util.List;
|
|
/**
|
* 考核结果Service接口
|
*
|
* @author ruoyi
|
* @date 2024-04-01
|
*/
|
public interface IContractResultService extends IService<ContractResult>
|
{
|
/**
|
* 查询考核结果
|
*
|
* @param id 考核结果主键
|
* @return 考核结果
|
*/
|
public ContractResult selectCheckResultById(Long id);
|
|
/**
|
* 查询考核结果列表
|
*
|
* @param checkResult 考核结果
|
* @return 考核结果集合
|
*/
|
public List<ContractResultVO> selectCheckResultList(ContractResultVO checkResult);
|
|
/**
|
* 新增考核结果
|
*
|
* @param checkResult 考核结果
|
* @return 结果
|
*/
|
public int insertCheckResult(ContractResult checkResult);
|
|
/**
|
* 修改考核结果
|
*
|
* @param checkResult 考核结果
|
* @return 结果
|
*/
|
public int updateCheckResult(ContractResult checkResult);
|
|
/**
|
* 批量删除考核结果
|
*
|
* @param ids 需要删除的考核结果主键集合
|
* @return 结果
|
*/
|
public int deleteCheckResultByIds(Long[] ids);
|
|
/**
|
* 删除考核结果信息
|
*
|
* @param id 考核结果主键
|
* @return 结果
|
*/
|
public int deleteCheckResultById(Long id);
|
|
/**
|
* 批量保存考核结果
|
* @param contractResultRecord 集合
|
*/
|
void saveBatchRecord(List<ContractResultRecord> contractResultRecord);
|
|
/**
|
* 根据考核结果查询记录
|
* @param resultId 考核结果id
|
* @param contractId 合同id
|
* @return 考核结果记录
|
*/
|
List<ContractResultRecord> selectCheckResultRecordList(Long resultId, Long contractId);
|
|
Boolean publish(Long id);
|
}
|