Skip to content

Commit

Permalink
Fix: 쿼리문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mukhoplus committed Oct 2, 2023
1 parent 7021f19 commit ae20cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public interface UserRepository extends CrudRepository<User, Long> {

@Query(value = "SELECT u.id, u.name, u.permission FROM User u WHERE u.permission != 'master'", nativeQuery = true)
@Query(value = "SELECT u.id, u.name, u.permission FROM user u WHERE u.permission != 'master'", nativeQuery = true)
List<UserInfoProjection> getUsers();

@Modifying
Expand Down

0 comments on commit ae20cf1

Please sign in to comment.