Parcourir la source

充电订单列表查询排序优化

skyline il y a 1 an
Parent
commit
6a7e6a1faa

+ 1 - 1
mapper/src/main/resources/mappers/miniapp/ChargeOrderMapper.xml

@@ -178,7 +178,7 @@
                 and t1.stop_reason = #{params.stopReason}
             </if>
         </where>
-        order by t1.start_time desc
+        order by t1.id desc
     </select>
 
     <select id="stationStat" resultMap="StationStatMap" parameterType="com.kym.entity.admin.queryParams.StatQueryParam">