|
@@ -61,7 +61,12 @@
|
|
<if test="sendStatus == -1">
|
|
<if test="sendStatus == -1">
|
|
and maxce.send_status is null
|
|
and maxce.send_status is null
|
|
</if>
|
|
</if>
|
|
- order by send_time desc
|
|
|
|
|
|
+ order by
|
|
|
|
+ CASE
|
|
|
|
+ WHEN send_time IS NULL THEN 1
|
|
|
|
+ ELSE 0
|
|
|
|
+ END,
|
|
|
|
+ send_time desc
|
|
limit #{offset},#{pageSize}
|
|
limit #{offset},#{pageSize}
|
|
</select>
|
|
</select>
|
|
|
|
|