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();
|
}
|