郑永安
2023-07-20 66de1a166391376d71a028c2069e90e9c509d499
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(@Param("page") Page<DepartmentVo> page,@Param("condition") 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(@Param("params") Map<String, Object> params);
 
    List<DepartmentInfo> selectPageForExam(@Param("params") Map<String, Object> params);
 
    DepartmentInfo getInfoByName(String departmentName);
 
    DepartmentInfo getDepartmentInfoById(Long depId);
 
    List<DepartmentInfo> listDepByDepIds(@Param("list") List<Long> depIds);
 
    List<DepartmentInfo> listDepartmentInfoById();
}