churf
2023-08-21 fe1c1002a5a2b1f9ea5eec95a40c9bbbcfe17450
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/project/repository/ProjectPerformanceDetailRepository.java
@@ -30,5 +30,11 @@
**/
public interface ProjectPerformanceDetailRepository extends JpaRepository<ProjectPerformanceDetail, Long>, JpaSpecificationExecutor<ProjectPerformanceDetail> {
   Optional<ProjectPerformanceDetail> findByProjectIdAndUserIdAndYearMonth(Long projectId, Long key, Timestamp yearMonth);
   Optional<ProjectPerformanceDetail> findByProjectIdAndUserIdAndYearMonthLessThan(Long projectId, Long key, Timestamp yearMonth);
   /**
    * 根据项目ID删除
    * @param projectId
    */
   void deleteByProjectId(Long projectId);
}