Commit 50493a01 authored by linruibiao's avatar linruibiao

接口编写

parent 901bab15
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
</if> </if>
</delete> </delete>
<select id="selectGroupList" resultType="com.syc.slm.slmbi.vo.InstrumentPanelGroupVo"> <select id="selectGroupList" resultType="com.syc.slm.slmbi.vo.InstrumentPanelGroupVo">
select id,`name`,parent_id from instrument_panel_group select id,`name`,parent_id,create_time from instrument_panel_group
${ew.customSqlSegment} ${ew.customSqlSegment}
</select> </select>
<select id="selectGroupByIds" resultType="com.syc.slm.slmbi.vo.PanelTreeNodeVo"> <select id="selectGroupByIds" resultType="com.syc.slm.slmbi.vo.PanelTreeNodeVo">
select id,`name`,parent_id,'group' node_type from instrument_panel_group select id,`name`,parent_id,'group' node_type,create_time from instrument_panel_group
<if test="finalPanelIds!=null and finalPanelIds.size() > 0"> <if test="finalPanelIds!=null and finalPanelIds.size() > 0">
where id IN ( where id IN (
<foreach collection="finalPanelIds" item="id" separator=","> <foreach collection="finalPanelIds" item="id" separator=",">
......
...@@ -55,7 +55,8 @@ ...@@ -55,7 +55,8 @@
id, id,
`name`, `name`,
group_id parent_id, group_id parent_id,
'panel' node_type 'panel' node_type,
create_time
from instrument_panel from instrument_panel
<if test="finalPanelIds!=null and finalPanelIds.size() > 0"> <if test="finalPanelIds!=null and finalPanelIds.size() > 0">
where id IN ( where id IN (
......
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