郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
33
34
35
package com.gk.hotwork.Mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gk.hotwork.Domain.DepartmentInfo;
import com.gk.hotwork.Domain.Vo.DepartmentVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
@Repository
public interface DepartmentInfoMapper extends BaseMapper<DepartmentInfo> {
 
    List<DepartmentVo> selectDataGrid(Page<DepartmentVo> page, Map<String, Object> condition);
 
    DepartmentInfo selectExistByName(@Param("id") Long id,@Param("department") String department);
 
    List<DepartmentVo> selectByAll();
 
    DepartmentInfo selectSafety(@Param("id") Long id);
 
    Integer selectCountForExam(Map<String, Object> params);
 
    List<DepartmentInfo> selectPageForExam(Map<String, Object> params);
 
    DepartmentInfo getInfoByName(String departmentName);
 
    DepartmentInfo getDepartmentInfoById(Long depId);
 
    List<DepartmentInfo> listDepByDepIds(@Param("list") List<Long> depIds);
 
    List<DepartmentInfo> listDepartmentInfoById();
}