Browse Source

搜素优化

master
陈裕财 3 years ago
parent
commit
a6cc1d68f0
  1. 3
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

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

@ -29,6 +29,9 @@
find_in_set(#{item},res.tag_ids) find_in_set(#{item},res.tag_ids)
</foreach> </foreach>
</if> </if>
<if test=" ltimeStart !=null "> and res.ltime &gt; #{ltimeStart} </if>
<if test=" ltimeEnd !=null "> and res.ltime &lt; #{ltimeEnd} </if>
<if test=" planStartTimeStart !=null "> and res.start_time &gt; #{planStartTimeStart} </if> <if test=" planStartTimeStart !=null "> and res.start_time &gt; #{planStartTimeStart} </if>
<if test=" planStartTimeEnd !=null "> and res.start_time &lt; #{planStartTimeEnd} </if> <if test=" planStartTimeEnd !=null "> and res.start_time &lt; #{planStartTimeEnd} </if>
<if test=" planEndTimeStart !=null "> and res.end_time &gt; #{planEndTimeStart} </if> <if test=" planEndTimeStart !=null "> and res.end_time &gt; #{planEndTimeStart} </if>

Loading…
Cancel
Save