Sfoglia il codice sorgente

企业角色还原方法更新

hejq 8 anni fa
parent
commit
475dc6a281
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/main/java/com/uas/platform/b2b/dao/RoleDao.java

+ 1 - 1
src/main/java/com/uas/platform/b2b/dao/RoleDao.java

@@ -68,7 +68,7 @@ public interface RoleDao extends JpaRepository<Role, Long> {
 	 * @param desc
 	 * @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);
 
 	/**