weicd
2023-12-11 9d2fe06389cd3629e121fb16669242e47bfc1648
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);
}