guoshilong
2023-04-04 3e7f2ef80c9fe9853889824aa99b37ccc13b75e9
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.ExamPlan;
import cn.gistack.sm.exam.vo.ExamPlanVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 
/**
 * @Description: 考核方案
 */
public interface ExamPlanMapper extends BaseMapper<ExamPlan> {
 
    /**
     * 自定义分页列表查询
     *
     * @param examPlan 考核方案 vo 对象
     * @return
     */
    List<ExamPlanVO> selectExamPlanPage(IPage<ExamPlanVO> page,@Param("examPlan") ExamPlan examPlan);
 
    /**
     * 设置启用或者禁用
     * @param id id
     * @param value 值
     * @return
     */
    Boolean enableOrDisable(@Param("id") String id, @Param("value") Integer value);
}