44323
2023-12-12 cb574e765ea42dcde15a0766b7f707f2c54a005e
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>