guoshilong
2023-04-03 973ad0fe0c378d83fd342475c0197ec15d5e1bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package cn.gistack.sm.exam.mapper;
 
import java.util.List;
 
import cn.gistack.sm.exam.entity.ExamScore;
import cn.gistack.sm.exam.vo.ExamScoreVO;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 
/**
 * @Description: 巡检次数得分标准
 */
public interface ExamScoreMapper extends BaseMapper<ExamScore> {
 
    /**
     * 自定义分页列表查询
     *
     * @param examScore 巡检次数得分标准 vo 对象
     * @return
     */
    List<ExamScoreVO> selectExamScorePage(@Param("examScore") ExamScoreVO examScore);
 
    /**
     * 根据巡检次数和方案id得到具体的分数
     * @param planId 方案id
     * @param count 巡检次数
     * @return 分数
     */
    Integer getExamScoreByPlanIdAndCount(@Param("planId") String planId,@Param("count") int count);
 
}