churf
2023-09-18 4b4e1b54cae72088fa60978e0192fe57f986e6f3
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/repository/TaskDaliyRepository.java
@@ -232,4 +232,10 @@
     * @return
     */
   List<TaskDaliy> findByProjectIdAndTaskId(Long projectId, Long id);
    @Query(value = "select DISTINCT user_id from task_daliy where task_id = ?1",nativeQuery = true)
    List<Long> findByTaskId(Long taskId);
    List<TaskDaliy> findByTaskIdAndUserId(Long taskId, Long userId);
}