zjh
2023-12-07 84bac4023fe6a521899a8620f0a7189c0fb4e278
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);
}