Commit 9b894923116695762ea01fe3fb9c2079b267bdff
1 parent
601e2bce
根据ID查询计划排班
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/bsth/repository/ScheduleRealInfoRepository.java
| @@ -79,4 +79,7 @@ public interface ScheduleRealInfoRepository extends PagingAndSortingRepository<S | @@ -79,4 +79,7 @@ public interface ScheduleRealInfoRepository extends PagingAndSortingRepository<S | ||
| 79 | @EntityGraph(value = "scheduleRealInfo_cTasks", type = EntityGraph.EntityGraphType.FETCH) | 79 | @EntityGraph(value = "scheduleRealInfo_cTasks", type = EntityGraph.EntityGraphType.FETCH) |
| 80 | @Query(value="select DISTINCT s from ScheduleRealInfo s where s.scheduleDateStr between ?1 and ?2 order by s.scheduleDateStr, s.gsBm, s.fgsBm, s.xlBm") | 80 | @Query(value="select DISTINCT s from ScheduleRealInfo s where s.scheduleDateStr between ?1 and ?2 order by s.scheduleDateStr, s.gsBm, s.fgsBm, s.xlBm") |
| 81 | List<ScheduleRealInfo> findScheduleByDates(String startDate, String endDate); | 81 | List<ScheduleRealInfo> findScheduleByDates(String startDate, String endDate); |
| 82 | + | ||
| 83 | + @Query(value = " select bc_type from bsth_c_s_sp_info where id = ?1 ", nativeQuery = true) | ||
| 84 | + List<String> findoOriginalType(Long spId); | ||
| 82 | } | 85 | } |