package com.mvc.dao;

import com.mvc.entity.TaskReview;
import com.mvc.entity.TaskReviewExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TaskReviewMapper {
    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    long countByExample(TaskReviewExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int deleteByExample(TaskReviewExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int insert(TaskReview record);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int insertSelective(TaskReview record);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    List<TaskReview> selectByExample(TaskReviewExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    TaskReview selectByPrimaryKey(Integer id);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int updateByExampleSelective(@Param("record") TaskReview record, @Param("example") TaskReviewExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int updateByExample(@Param("record") TaskReview record, @Param("example") TaskReviewExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int updateByPrimaryKeySelective(TaskReview record);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-03-10 11:20:18
     */
    int updateByPrimaryKey(TaskReview record);

    /**
     * 查询单位代码可见的所有站点的审核数据
     * @param taskDate
     * @param unitCode
     * @param finishedFlags
     * @return
     */
    List<TaskReview> findCustomReviewList(String taskDate,String unitCode,String[] finishedFlags);
}