diff --git a/src/main/java/cn/teammodel/repository/ChatAppRepository.java b/src/main/java/cn/teammodel/repository/ChatAppRepository.java index 22a2775..74df24b 100644 --- a/src/main/java/cn/teammodel/repository/ChatAppRepository.java +++ b/src/main/java/cn/teammodel/repository/ChatAppRepository.java @@ -31,6 +31,6 @@ public interface ChatAppRepository extends CosmosRepository { String period, String subject); - @Query("SELECT c.id, c.schoolId, c.prompt FROM c WHERE c.code = 'ChatApp' AND c.id = @id") + @Query("SELECT c.id, c.schoolId, c.prompt, c.creatorId FROM c WHERE c.code = 'ChatApp' AND c.id = @id") List findByAppId(String id); }