发布等
This commit is contained in:
@ -83,7 +83,12 @@
|
||||
and s.openedby= #{qo.userName}
|
||||
</if>
|
||||
|
||||
|
||||
<if test="qo.id != null ">
|
||||
and s.id = #{qo.id}
|
||||
</if>
|
||||
<if test="qo.title != null and qo.title != '' ">
|
||||
and s.title = #{qo.title}
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'YGB' ">
|
||||
and s.status = 'closed'
|
||||
@ -95,6 +100,16 @@
|
||||
<if test="qo.productId != null ">
|
||||
and s.product = #{qo.productId}
|
||||
</if>
|
||||
|
||||
<if test="qo.storyIds != null and qo.storyIds.size() > 0">
|
||||
and s.id in
|
||||
<foreach collection="qo.storyIds" item="id" index="index"
|
||||
open="(" close=")" separator=",">
|
||||
#{id}
|
||||
</foreach>
|
||||
|
||||
</if>
|
||||
|
||||
order by s.id desc
|
||||
</select>
|
||||
|
||||
|
Reference in New Issue
Block a user