消息等
This commit is contained in:
@ -41,7 +41,24 @@
|
||||
<if test="qo.storyId != null ">
|
||||
and s.id = #{qo.storyId}
|
||||
</if>
|
||||
group by s.id
|
||||
|
||||
|
||||
<choose>
|
||||
<when test="qo.orderName != '' and qo.orderName != null ">
|
||||
<choose>
|
||||
<when test="qo.orderSort != '' and qo.orderSort != null ">
|
||||
order by s.${qo.orderName} ${qo.orderSort}
|
||||
</when>
|
||||
<otherwise>
|
||||
order by s.id desc
|
||||
</otherwise>
|
||||
</choose>
|
||||
</when>
|
||||
<otherwise>
|
||||
order by s.id desc
|
||||
</otherwise>
|
||||
</choose>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
|
Reference in New Issue
Block a user