weicd
2023-11-28 fd7ee4d47858ce5a392dfc203ca21fa0aca2fee7
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);
}