Browse Source

相机树开发

gao.qiang 2 months ago
parent
commit
f173e9ef80

+ 1 - 1
business-service/src/main/resources/mapper/service/BaseDeptMapper.xml

@@ -2,6 +2,6 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ozs.service.mapper.BaseDeptMapper">
     <select id="selectDeptByDeptName" parameterType="string"  resultType="java.lang.Long">
-		select dept_id from sys_dept where dept_name = #{deptName}
+		select dept_id from sys_dept where dept_name = #{deptName} and del_flag = 1
 	</select>
 </mapper>