Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
bd76027f26
  1. 4
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmMenuMapper.xml

4
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmMenuMapper.xml

@ -31,6 +31,10 @@
</if> </if>
<if test="key != null and key !='' "> and res.menu_name like #{key} </if> <if test="key != null and key !='' "> and res.menu_name like #{key} </if>
<if test="isTop!=null and isTop!=''"> and (res.pmenu_id is null or res.pmenu_id = '')</if> <if test="isTop!=null and isTop!=''"> and (res.pmenu_id is null or res.pmenu_id = '')</if>
<if test="projectId!=null and projectId!=''"> and
exists (select 1 from xm_task t where t.project_id=#{projectId} and res.menu_id=t.menu_id and t.ntype='0')
</if>
</sql> </sql>
<select id="selectExistIterationMenus" parameterType="HashMap" resultType="com.xm.core.entity.XmMenu"> <select id="selectExistIterationMenus" parameterType="HashMap" resultType="com.xm.core.entity.XmMenu">

Loading…
Cancel
Save