| | |
| | | |
| | | List<Project> findByProjectStatus(String projectStatus); |
| | | |
| | | List<Project> findByProjectStatusAndIdIn(String projectStatus, Long[] ids); |
| | | List<Project> findByProjectStatusInAndIdIn(List<String> projectStatusList, List<Long> idList); |
| | | |
| | | /** |
| | | * 根据用户ID查询负责项目ID |
| | |
| | | */ |
| | | @Query(value = "SELECT * FROM project WHERE project_distinguish = ?1 AND plan_start_date LIKE concat(?2,'%')", nativeQuery = true) |
| | | List<Project> findProjectByProjectDistinguishAndTargetYear(String projectDistinguish, String targetYear); |
| | | |
| | | @Query(value = "select id from project where id = ?1",nativeQuery = true) |
| | | Long findByProjectId(Long id); |
| | | } |