From 744ddc3550c2bdbe61f7326e4ab7c00dfa3ac51f Mon Sep 17 00:00:00 2001 From: yaozc <unbelievers@yeah.net> Date: Tue, 21 Feb 2023 03:43:24 +0000 Subject: [PATCH] Merge branch 'master' of http://192.168.1.110:5678/r/pms-upgrade into yaozc --- eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/repository/TaskRepository.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/repository/TaskRepository.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/repository/TaskRepository.java index 7e7614d..ec7df1f 100644 --- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/repository/TaskRepository.java +++ b/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); } \ No newline at end of file -- Gitblit v1.9.3