src/main/resources/mapper/DepartmentMapper.xml
@@ -27,9 +27,6 @@ <if test="name != null"> name = #{name,jdbcType=VARCHAR}, </if> <if test="adminId != null"> admin_id = #{adminId}, </if> <if test="deleted != null"> deleted = #{deleted,jdbcType=VARCHAR}, </if> @@ -173,4 +170,8 @@ temp_table </select> <select id="getLevelDeptList" resultType="com.mindskip.xzs.domain.vo.CascaderDataVO"> SELECT id as value, name as label, parent_id, special, level FROM t_department WHERE level = #{level} </select> </mapper>