Pu Zhibing
12 小时以前 f3106694f7f9992391b26897571ff11462cfe475
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>