Commit 909552e2 authored by chenhao's avatar chenhao

bug 4306 树结构混乱的问题

parent 86d1b45f
...@@ -133,9 +133,10 @@ ...@@ -133,9 +133,10 @@
]]> ]]>
<where> <where>
<if test="id != null"> <if test="id != null">
FIND_IN_SET(m.id, getMaintenanceResourceTreeById(#{id})) FIND_IN_SET(m.parent_id, getMaintenanceResourceTreeById(#{id}))
</if> </if>
</where> </where>
UNION (SELECT f.* from mt_maintenance_resource f where f.id =#{id})
</select> </select>
<select id="findByIds" resultType="com.yeejoin.equipmanage.common.vo.MaintenanceResourceDataVo"> <select id="findByIds" resultType="com.yeejoin.equipmanage.common.vo.MaintenanceResourceDataVo">
<![CDATA[ <![CDATA[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment