소스 검색

排序问题

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);