lige
2023-11-21 690362d7b03064490850b738ef16c3e0eb2509e8
ltkj-system/src/main/java/com/ltkj/system/mapper/SysDeptMapper.java
@@ -6,6 +6,7 @@
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.ltkj.common.core.domain.entity.SysDept;
import org.apache.ibatis.annotations.Select;
/**
 * 部门管理 数据层
@@ -118,4 +119,7 @@
     * @return 结果
     */
    public int deleteDeptById(Long deptId);
    @Select(" SELECT a.dept_id FROM sys_dept a WHERE a.deleted=0  AND a.dept_name like concat('%',#{deptName},'%')")
    List<String> getSysDeptId(String deptName);
}