Forráskód Böngészése

企业角色还原方法更新

hejq 8 éve
szülő
commit
475dc6a281

+ 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
 	 * @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);
 
 
 	/**
 	/**