eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/project/repository/ProjectCostRepository.java
@@ -46,4 +46,10 @@ */ @Query(value = "SELECT DISTINCT(project_id) FROM project_cost WHERE user_id = ?1", nativeQuery = true) List<Long> findProjectIdByUserId(Long userId); /** * 根据项目ID删除 * @param projectId */ void deleteByProjectId(Long projectId); }