Browse Source

fix: 基金管理,净值规模,分红管理,缺失管理增加日期字段排序

chenjianhua 6 months ago
parent
commit
7f0647e580
1 changed files with 4 additions and 0 deletions
  1. 4 0
      service-base/src/main/resources/mapper/FundInfoMapper.xml

+ 4 - 0
service-base/src/main/resources/mapper/FundInfoMapper.xml

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