Commit 1a8dd3f9ae6d481837afcf6e151f796711cfe3f3
1 parent
f367b61b
...
Showing
2 changed files
with
1 additions
and
1 deletions
src/main/java/com/bsth/data/pilot80/PilotReport.java
| ... | ... | @@ -14,7 +14,6 @@ import com.bsth.data.LineConfigData; |
| 14 | 14 | import com.bsth.data.gpsdata.GpsEntity; |
| 15 | 15 | import com.bsth.data.gpsdata.GpsRealData; |
| 16 | 16 | import com.bsth.data.schedule.DayOfSchedule; |
| 17 | -import com.bsth.data.schedule.ScheduleComparator; | |
| 18 | 17 | import com.bsth.entity.Line; |
| 19 | 18 | import com.bsth.entity.directive.D80; |
| 20 | 19 | import com.bsth.entity.realcontrol.D80ReplyTemp; | ... | ... |
src/main/java/com/bsth/repository/realcontrol/ScheduleRealInfoRepository.java
| ... | ... | @@ -72,5 +72,6 @@ public interface ScheduleRealInfoRepository extends BaseRepository<ScheduleRealI |
| 72 | 72 | @Query(value = "delete ScheduleRealInfo s where s.xlBm=?1 and s.scheduleDateStr=?2") |
| 73 | 73 | void deleteByLineCodeAndDate(String xlBm, String schDate); |
| 74 | 74 | |
| 75 | + @Query(value="select s from ScheduleRealInfo s where s.xlBm = ?1 and DATE_FORMAT(s.scheduleDate,'%Y-%m-%d') = ?2") | |
| 75 | 76 | List<ScheduleRealInfo> scheduleByDateAndLine(String line,String date); |
| 76 | 77 | } | ... | ... |