| | |
| | | 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接口 |
| | | * |
| | | * 考核结果Service接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-01 |
| | | */ |
| | | public interface IContractResultService |
| | | public interface IContractResultService extends IService<ContractResult> |
| | | { |
| | | /** |
| | | * 查询合同考核结果 |
| | | * |
| | | * @param id 合同考核结果主键 |
| | | * @return 合同考核结果 |
| | | * 查询考核结果 |
| | | * |
| | | * @param id 考核结果主键 |
| | | * @return 考核结果 |
| | | */ |
| | | public ContractResult selectDefaultResultById(Long id); |
| | | public ContractResult selectCheckResultById(Long id); |
| | | |
| | | /** |
| | | * 查询合同考核结果列表 |
| | | * |
| | | * @param contractResult 合同考核结果 |
| | | * @return 合同考核结果集合 |
| | | * 查询考核结果列表 |
| | | * |
| | | * @param checkResult 考核结果 |
| | | * @return 考核结果集合 |
| | | */ |
| | | public List<ContractResult> selectDefaultResultList(ContractResult contractResult); |
| | | public List<ContractResultVO> selectCheckResultList(ContractResultVO checkResult); |
| | | |
| | | /** |
| | | * 新增合同考核结果 |
| | | * |
| | | * @param contractResult 合同考核结果 |
| | | * 新增考核结果 |
| | | * |
| | | * @param checkResult 考核结果 |
| | | * @return 结果 |
| | | */ |
| | | public int insertDefaultResult(ContractResult contractResult); |
| | | public int insertCheckResult(ContractResult checkResult); |
| | | |
| | | /** |
| | | * 修改合同考核结果 |
| | | * |
| | | * @param contractResult 合同考核结果 |
| | | * 修改考核结果 |
| | | * |
| | | * @param checkResult 考核结果 |
| | | * @return 结果 |
| | | */ |
| | | public int updateDefaultResult(ContractResult contractResult); |
| | | public int updateCheckResult(ContractResult checkResult); |
| | | |
| | | /** |
| | | * 批量删除合同考核结果 |
| | | * |
| | | * @param ids 需要删除的合同考核结果主键集合 |
| | | * 批量删除考核结果 |
| | | * |
| | | * @param ids 需要删除的考核结果主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDefaultResultByIds(Long[] ids); |
| | | public int deleteCheckResultByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除合同考核结果信息 |
| | | * |
| | | * @param id 合同考核结果主键 |
| | | * 删除考核结果信息 |
| | | * |
| | | * @param id 考核结果主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDefaultResultById(Long id); |
| | | 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); |
| | | } |