Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
96c6372f2b
  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/XmQuestionMapper.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

@ -13,7 +13,7 @@
</if> </if>
<if test=" tagIdList != null"> and <if test=" tagIdList != null"> and
<foreach collection="tagIdList" item="item" index="index" open="(" separator=" or " close=")" > <foreach collection="tagIdList" item="item" index="index" open="(" separator=" or " close=")" >
find_in_set(item,res.tag_ids)
find_in_set(#{item},res.tag_ids)
</foreach> </foreach>
</if> </if>
<if test=' iterationFilterType!=null and iterationFilterType!=""'> <if test=' iterationFilterType!=null and iterationFilterType!=""'>

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

@ -69,7 +69,7 @@
</if> </if>
<if test=" tagIdList != null"> and <if test=" tagIdList != null"> and
<foreach collection="tagIdList" item="item" index="index" open="(" separator=" or " close=")" > <foreach collection="tagIdList" item="item" index="index" open="(" separator=" or " close=")" >
find_in_set(item,res.tag_ids)
find_in_set(#{item},res.tag_ids)
</foreach> </foreach>
</if> </if>
<if test="hisHandlerUserid !=null "> and exists (select 1 from xm_question_handle h where h.question_id = res.id and h.handler_userid=#{hisHandlerUserid} and handle_status=#{hisHandleStatus})</if> <if test="hisHandlerUserid !=null "> and exists (select 1 from xm_question_handle h where h.question_id = res.id and h.handler_userid=#{hisHandlerUserid} and handle_status=#{hisHandleStatus})</if>

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

@ -14,7 +14,7 @@
<if test=" tagIdList != null"> and <if test=" tagIdList != null"> and
<foreach collection="tagIdList" item="item" index="index" open="(" separator=" or " close=")" > <foreach collection="tagIdList" item="item" index="index" open="(" separator=" or " close=")" >
find_in_set(item,res.tag_ids)
find_in_set(#{item},res.tag_ids)
</foreach> </foreach>
</if> </if>
<if test=" createTimeStart !=null "> and res.create_time &gt; #{createTimeStart} </if> <if test=" createTimeStart !=null "> and res.create_time &gt; #{createTimeStart} </if>

Loading…
Cancel
Save