xiaochan преди 4 години
родител
ревизия
796719e84d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/thyyxxk/webserver/dao/his/querydata/CovidVaccinateAppointmentDao.java

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/querydata/CovidVaccinateAppointmentDao.java

@@ -190,7 +190,7 @@ public interface CovidVaccinateAppointmentDao {
      * @param endTime   结束时间
      * @return 返回七天数据
      */
-    @Select("select * from t_covid_vaccinate_threshold_new where code=#{code} and date>=#{startTime} and date<=#{endTime}")
+    @Select("select * from t_covid_vaccinate_threshold_new where code=#{code} and date>=#{startTime} and date<=#{endTime} order by date")
     List<CovidVaccinateThreshold> chaKanQiTianYuZhi(@Param("code") int code,
                                                     @Param("startTime") String startTime,
                                                     @Param("endTime") String endTime);