Prechádzať zdrojové kódy

fix 修改核酸排序

tjf 3 rokov pred
rodič
commit
14fd958b8c

+ 2 - 2
boman-web-core/src/main/resources/mapper/AccountingDateMapper.xml

@@ -76,7 +76,7 @@
             <if test="villageTownsId != null  and villageTownsId != ''">and r.village_towns_id = #{villageTownsId}</if>
             <if test="villageId != null  and villageId != ''">and r.village_id = #{villageId}</if>
         </where>
-        order by d.cjsj DESC
+        order by d.cjsj DESC,r.create_time DESC
     </select>
 
     <select id="selectAccountingDataJzdzList" parameterType="com.boman.web.core.domain.vo.AccountingDataVo"
@@ -99,7 +99,7 @@
             <if test="villageTownsIdXjd != null and villageTownsIdXjd != ''">and z.town_id = #{villageTownsIdXjd}</if>
             <if test="villageIdXjd != null and villageIdXjd != ''">and z.village_id = #{villageIdXjd}</if>
         </where>
-        order by d.cjsj DESC
+        order by d.cjsj DESC,r.create_time DESC
     </select>