瀏覽代碼

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

chenjianhua 6 月之前
父節點
當前提交
7f0647e580
共有 1 個文件被更改,包括 4 次插入0 次删除
  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>