Pu Zhibing
1 天以前 28e148e28986a08414a4c690a5e5e7ecdc87f9a7
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/DeptMapper.xml
@@ -23,13 +23,13 @@
      ELSE
      'false'
      END
      ) as isOpen from sys_dept
      ) as isOpen from sys_dept where objectId = #{objectId}
   </select>
    <select id="list" resultType="map">
        select * from sys_dept
        select * from sys_dept where objectId = #{objectId}
        <if test="condition != null and condition != ''">
            where simplename like CONCAT('%',#{condition},'%') or fullname like CONCAT('%',#{condition},'%')
            and simplename like CONCAT('%',#{condition},'%') or fullname like CONCAT('%',#{condition},'%')
        </if>
        order by num ASC
    </select>