主题整合优化
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
<select id="selectByThemeActivityList" parameterType="ByThemeActivity" resultMap="ByThemeActivityResult">
|
||||
<include refid="selectByThemeActivityVo"/>
|
||||
<where>
|
||||
<if test="id != null ">and id = #{id}</if>
|
||||
<if test="themeid != null ">and themeid = #{themeid}</if>
|
||||
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
|
||||
<if test="type != null and type != ''">and type = #{type}</if>
|
||||
|
@ -22,8 +22,10 @@
|
||||
<sql id="selectByThemeVoTree">
|
||||
select dict_value+9999 id, 0 parent_id,dict_label name,dict_sort sort from sys_dict_data where dict_type='sys_yebjlx' and dict_label !='托班(2-3岁)'
|
||||
union all
|
||||
select id, classid+9999, name, sort from by_theme
|
||||
order by sort
|
||||
select id+99999, classid+9999, name, sort from by_theme
|
||||
union all
|
||||
select id,themeid+99999,name,sort from by_theme_activity
|
||||
order by sort
|
||||
</sql>
|
||||
|
||||
<select id="selectByThemeListTree" parameterType="ByTheme" resultMap="ByThemeResult">
|
||||
|
Reference in New Issue
Block a user