eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/repository/TaskRepository.java
@@ -47,4 +47,10 @@ @Query(value = "SELECT COALESCE(SUM(plan_hours), 0.0) AS planHours, COALESCE(sum(plan_workload), 0.0) as planWorkload FROM task WHERE project_id = ?1", nativeQuery = true) TaskInterface collectByProjectId(Long projectId); /** * 根据项目ID删除 * @param projectId */ void deleteByProjectId(Long projectId); }