123456789101112131415 |
- package com.gis.mapper;
- import com.gis.domain.entity.SysDeptEntity;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Select;
- import org.springframework.stereotype.Component;
- @Component
- @Mapper
- public interface SysDeptMapper extends IBaseMapper<SysDeptEntity, Long> {
- @Select(value = "select * from sys_dept where rec_status = 'A' AND dept_no = #{deptNo}")
- SysDeptEntity findByDeptNo(String deptNo);
- }
|