package com.ruoyi.system.service;

import com.ruoyi.system.domain.assessment.ZxAssessment;

import java.util.List;


/**
 * 政协评价考核Service接口
 * 
 * @author boman
 * @date 2024-03-19
 */
public interface IZxAssessmentService 
{
    /**
     * 查询政协评价考核
     * 
     * @param assessmentId 政协评价考核主键
     * @return 政协评价考核
     */
    public ZxAssessment selectZxAssessmentByAssessmentId(Long assessmentId);

    /**
     * 查询政协评价考核列表
     * 
     * @param zxAssessment 政协评价考核
     * @return 政协评价考核集合
     */
    public List<ZxAssessment> selectZxAssessmentList(ZxAssessment zxAssessment);

    /**
     * 新增政协评价考核
     * 
     * @param zxAssessment 政协评价考核
     * @return 结果
     */
    public int insertZxAssessment(ZxAssessment zxAssessment);
    /**
     * 校验考核项目是否唯一
     *
     * @param zxAssessment 考核信息
     * @return 结果
     */
    public boolean checkAssessmentProjectUnique(ZxAssessment zxAssessment);

    /**
     * 修改政协评价考核
     * 
     * @param zxAssessment 政协评价考核
     * @return 结果
     */
    public int updateZxAssessment(ZxAssessment zxAssessment);

    /**
     * 批量删除政协评价考核
     * 
     * @param assessmentIds 需要删除的政协评价考核主键集合
     * @return 结果
     */
    public int deleteZxAssessmentByAssessmentIds(Long[] assessmentIds);

    /**
     * 删除政协评价考核信息
     * 
     * @param assessmentId 政协评价考核主键
     * @return 结果
     */
    public int deleteZxAssessmentByAssessmentId(Long assessmentId);
}
