File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
login/src/main/java/com/glaum/login/repository Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ public class PermissionDAO {
3131
3232
3333
34- public Permission findpermissionidByname (String name ) {
34+ public Permission findPermissionByName (String name ) {
3535 Query query = entityManager .createQuery ("from Permission where name = ?" );
3636 query .setParameter (1 , name .toLowerCase ());
3737 Optional <Permission > optional = query .getResultList ().stream ().findFirst ();
3838
3939 return optional .orElse (null );
4040 }
4141
42- public List <Permission > findpermissionid () {
42+ public List <Permission > findPermissionId () {
4343 Query query = entityManager .createQuery ("from Permission" );
4444
4545 List <Permission > listobj =(List <Permission >) query .getResultList ().stream ().collect (Collectors .toList ());
You can’t perform that action at this time.
0 commit comments