|
@@ -68,7 +68,7 @@ public interface RoleDao extends JpaRepository<Role, Long> {
|
|
|
* @param desc
|
|
* @param desc
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
- @Query(value = "select * from sec$roles r where r.role_desc = :description and r.isdefault = 1 and r.role_enuu is null and limit 1", nativeQuery = true)
|
|
|
|
|
|
|
+ @Query(value = "select * from sec$roles r where r.role_desc = :description and r.isdefault = 1 and r.role_enuu is null limit 1", nativeQuery = true)
|
|
|
Role findDefaultRoleByDesc(@Param("description")String desc);
|
|
Role findDefaultRoleByDesc(@Param("description")String desc);
|
|
|
|
|
|
|
|
/**
|
|
/**
|