Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
9b3ca92ac8
  1. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmMenuMapper.xml
  2. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectPhaseMapper.xml
  3. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

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

@ -25,7 +25,7 @@
exists ( select 1 from xm_task t where t.menu_id=res.menu_id) exists ( select 1 from xm_task t where t.menu_id=res.menu_id)
</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 =='1' "> 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>
</sql> </sql>
<select id="selectExistIterationMenus" parameterType="HashMap" resultType="com.xm.core.entity.XmMenu"> <select id="selectExistIterationMenus" parameterType="HashMap" resultType="com.xm.core.entity.XmMenu">

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectPhaseMapper.xml

@ -18,7 +18,7 @@
and exists( select 1 from xm_task t where t.product_id=#{productId}) and exists( select 1 from xm_task t where t.product_id=#{productId})
</if> </if>
<if test="key != null and key !='' "> </if> <if test="key != null and key !='' "> </if>
<if test="isTop!=null and isTop=='1'">
<if test="isTop!=null and isTop!=''">
and (res.parent_phase_id is null or res.parent_phase_id='') and (res.parent_phase_id is null or res.parent_phase_id='')
</if> </if>
</sql> </sql>

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

@ -52,7 +52,7 @@
</if> </if>
<if test="key != null and key !='' "> and res.name like #{key} </if> <if test="key != null and key !='' "> and res.name like #{key} </if>
<if test="work != null and work != ''"> and res.rate != '100' </if> <if test="work != null and work != ''"> and res.rate != '100' </if>
<if test="isTop!=null and isTop=='1'">
<if test="isTop!=null and isTop!=''">
and (res.parent_taskid is null or res.parent_taskid='') and (res.parent_taskid is null or res.parent_taskid='')
</if> </if>
</sql> </sql>

Loading…
Cancel
Save