|
|
@@ -238,6 +238,6 @@ public interface UserRepo extends JpaRepository<User, Long>, JpaSpecificationExe
|
|
|
"order by cid desc;")
|
|
|
List<Object[]> customSearch(Long id);
|
|
|
|
|
|
- @Query("select new com.izouma.nineth.dto.InvitedUserDTO(u.phone,u.authStatus) from User u where u.collectionId = ?1 and u.collectionInvitor = ?2")
|
|
|
+ @Query("select new com.izouma.nineth.dto.InvitedUserDTO(u.phone,u.authStatus,u.avatar,u.createdAt) from User u where u.collectionId = ?1 and u.collectionInvitor = ?2")
|
|
|
List<InvitedUserDTO> findInvitedDTO(Long collectionId, Long collectionInvitor);
|
|
|
}
|