|
@@ -88,11 +88,12 @@
|
|
</if>) a
|
|
</if>) a
|
|
<choose>
|
|
<choose>
|
|
<when test="sort != null and sort !='' and sort=='lastPriceDate' and order != null and order !=''">
|
|
<when test="sort != null and sort !='' and sort=='lastPriceDate' and order != null and order !=''">
|
|
|
|
+ order by
|
|
CASE
|
|
CASE
|
|
WHEN a.lastPriceDate IS NULL THEN 1
|
|
WHEN a.lastPriceDate IS NULL THEN 1
|
|
ELSE 0
|
|
ELSE 0
|
|
END,
|
|
END,
|
|
- order by a.lastPriceDate ${order}
|
|
|
|
|
|
+ a.lastPriceDate ${order}
|
|
</when>
|
|
</when>
|
|
<otherwise>
|
|
<otherwise>
|
|
order by a.lastPriceDate desc
|
|
order by a.lastPriceDate desc
|