|
@@ -27,8 +27,7 @@ public interface UserDeviceRepository extends BasicJpaRepository<UserDevice, Str
|
|
|
* @param userId the id of user
|
|
|
* @return
|
|
|
*/
|
|
|
- @Query(value = "select r.* from resource r where r.type != ?1", nativeQuery = true)
|
|
|
+ @Query(value = "select u.* from UserDevice u where u.user_id != ?1", nativeQuery = true)
|
|
|
List<UserDevice> findByUserId(String userId);
|
|
|
|
|
|
-
|
|
|
}
|