LIVE_YE 1 jaar geleden
bovenliggende
commit
4871c9f2c6

+ 1 - 0
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/service/impl/reservat/XiaoyuanReservatServiceImpl.java

@@ -97,6 +97,7 @@ public class XiaoyuanReservatServiceImpl implements IXiaoyuanReservatService {
         if ("4".equals(dataType)){
             lqw.apply("visit_remark >= DATE_SUB(NOW(), INTERVAL 30 DAY)");
         }
+        lqw.orderByDesc(XiaoyuanReservat::getCreateTime);
         return lqw;
     }