cloud-server-management/src/main/resources/mapper/DeptMapper.xml
@@ -24,12 +24,9 @@ 'false' END ) as isOpen from sys_dept where 1=1 <if test="type ==3 "> and objectType =3 and objectId =#{id} </if> and objectType =#{type} and objectId =#{id} </select> <select id="list" resultType="map"> <select id="list" resultType="java.util.Map"> select * from sys_dept where 1=1 <if test="condition != null and condition != ''"> and simplename like CONCAT('%',#{condition},'%') or fullname like CONCAT('%',#{condition},'%') @@ -43,4 +40,5 @@ order by num ASC </select> </mapper>