mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-09 11:12:02 +00:00
refactor(alembic): 优化迁移脚本生成逻辑并添加模型自动发现
添加ImportUtil工具类用于自动发现SQLAlchemy模型 优化alembic迁移脚本生成逻辑,避免空变更生成 修复前端模板中的按钮标签错误 简化revision命令参数
This commit is contained in:
@@ -1,31 +1,47 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
from logging.config import fileConfig
|
from logging.config import fileConfig
|
||||||
|
from sqlalchemy.engine import Connection
|
||||||
from sqlalchemy.ext.asyncio import create_async_engine
|
from sqlalchemy.ext.asyncio import create_async_engine
|
||||||
from sqlalchemy import pool
|
from sqlalchemy import pool
|
||||||
from alembic import context
|
from alembic import context
|
||||||
|
|
||||||
|
from app.utils.import_util import ImportUtil
|
||||||
|
from app.core.base_model import MappedBase
|
||||||
|
from app.config.setting import settings
|
||||||
|
|
||||||
|
# 清除MappedBase.metadata中的表定义,避免重复注册
|
||||||
|
if hasattr(MappedBase, 'metadata') and MappedBase.metadata.tables:
|
||||||
|
print(f"🧹 清除已存在的表定义,当前有 {len(MappedBase.metadata.tables)} 个表")
|
||||||
|
# 创建一个新的空metadata对象
|
||||||
|
from sqlalchemy import MetaData
|
||||||
|
MappedBase.metadata = MetaData()
|
||||||
|
print("✅️ 已重置metadata")
|
||||||
|
|
||||||
|
# 自动查找所有模型
|
||||||
|
print("🔍 开始查找模型...")
|
||||||
|
found_models = ImportUtil.find_models(MappedBase)
|
||||||
|
print(f"📊 找到 {len(found_models)} 个有效模型")
|
||||||
|
|
||||||
# this is the Alembic Config object, which provides
|
# this is the Alembic Config object, which provides
|
||||||
# access to the values within the .ini file in use.
|
# access to the values within the .ini file in use.
|
||||||
config = context.config
|
alembic_config = context.config
|
||||||
|
|
||||||
# Interpret the config file for Python logging.
|
# Interpret the config file for Python logging.
|
||||||
# This line sets up loggers basically.
|
# This line sets up loggers basically.
|
||||||
if config.config_file_name is not None:
|
if alembic_config.config_file_name is not None:
|
||||||
fileConfig(config.config_file_name)
|
fileConfig(alembic_config.config_file_name)
|
||||||
|
|
||||||
# add your model's MetaData object here
|
# add your model's MetaData object here
|
||||||
# for 'autogenerate' support
|
# for 'autogenerate' support
|
||||||
# from myapp import mymodel
|
# from myapp import mymodel
|
||||||
# target_metadata = mymodel.Base.metadata
|
# target_metadata = mymodel.Base.metadata
|
||||||
from app.core.base_model import MappedBase
|
|
||||||
target_metadata = MappedBase.metadata
|
target_metadata = MappedBase.metadata
|
||||||
|
|
||||||
# other values from the config, defined by the needs of env.py,
|
# other values from the config, defined by the needs of env.py,
|
||||||
# can be acquired:
|
# can be acquired:
|
||||||
# my_important_option = config.get_main_option("my_important_option")
|
# my_important_option = config.get_main_option("my_important_option")
|
||||||
# ... etc.
|
# ... etc.
|
||||||
from app.config.setting import settings
|
alembic_config.set_main_option("sqlalchemy.url", settings.ASYNC_DB_URI)
|
||||||
config.set_main_option("sqlalchemy.url", settings.ASYNC_DB_URI)
|
|
||||||
|
|
||||||
|
|
||||||
def run_migrations_offline() -> None:
|
def run_migrations_offline() -> None:
|
||||||
@@ -40,7 +56,7 @@ def run_migrations_offline() -> None:
|
|||||||
script output.
|
script output.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
url = config.get_main_option("sqlalchemy.url")
|
url = alembic_config.get_main_option("sqlalchemy.url")
|
||||||
# 确保URL不为None
|
# 确保URL不为None
|
||||||
if url is None:
|
if url is None:
|
||||||
raise ValueError("数据库URL未正确配置,请检查环境配置文件")
|
raise ValueError("数据库URL未正确配置,请检查环境配置文件")
|
||||||
@@ -63,7 +79,7 @@ def run_migrations_online() -> None:
|
|||||||
and associate a connection with the context.
|
and associate a connection with the context.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
url = config.get_main_option("sqlalchemy.url")
|
url = alembic_config.get_main_option("sqlalchemy.url")
|
||||||
# 确保URL不为None
|
# 确保URL不为None
|
||||||
if url is None:
|
if url is None:
|
||||||
raise ValueError("数据库URL未正确配置,请检查环境配置文件")
|
raise ValueError("数据库URL未正确配置,请检查环境配置文件")
|
||||||
@@ -73,18 +89,35 @@ def run_migrations_online() -> None:
|
|||||||
async def run_async_migrations():
|
async def run_async_migrations():
|
||||||
async with connectable.connect() as connection:
|
async with connectable.connect() as connection:
|
||||||
await connection.run_sync(do_run_migrations)
|
await connection.run_sync(do_run_migrations)
|
||||||
|
await connectable.dispose()
|
||||||
|
|
||||||
|
def do_run_migrations(connection: Connection) -> None:
|
||||||
|
def process_revision_directives(context, revision, directives):
|
||||||
|
script = directives[0]
|
||||||
|
|
||||||
|
# 检查所有操作集是否为空
|
||||||
|
all_empty = all(ops.is_empty() for ops in script.upgrade_ops_list)
|
||||||
|
|
||||||
|
if all_empty:
|
||||||
|
# 如果没有实际变更,不生成迁移文件
|
||||||
|
directives[:] = []
|
||||||
|
print('❎️ 未检测到模型变更,不生成迁移文件')
|
||||||
|
else:
|
||||||
|
print('✅️ 检测到模型变更,生成迁移文件')
|
||||||
|
|
||||||
def do_run_migrations(connection):
|
|
||||||
context.configure(
|
context.configure(
|
||||||
connection=connection,
|
connection=connection,
|
||||||
target_metadata=target_metadata,
|
target_metadata=target_metadata,
|
||||||
compare_type=True,
|
compare_type=True,
|
||||||
compare_server_default=True,
|
compare_server_default=True,
|
||||||
|
transaction_per_migration=True,
|
||||||
|
process_revision_directives=process_revision_directives,
|
||||||
)
|
)
|
||||||
|
|
||||||
with context.begin_transaction():
|
with context.begin_transaction():
|
||||||
context.run_migrations()
|
context.run_migrations()
|
||||||
|
|
||||||
|
|
||||||
asyncio.run(run_async_migrations())
|
asyncio.run(run_async_migrations())
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from typing import Optional, List
|
from typing import TYPE_CHECKING, Optional, List
|
||||||
from sqlalchemy import Boolean, String, Integer, ForeignKey
|
from sqlalchemy import Boolean, String, Integer, ForeignKey
|
||||||
from sqlalchemy.orm import relationship, Mapped, mapped_column
|
from sqlalchemy.orm import relationship, Mapped, mapped_column
|
||||||
|
|
||||||
from app.core.base_model import ModelMixin
|
from app.core.base_model import ModelMixin
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from app.api.v1.module_system.role.model import RoleModel
|
||||||
|
from app.api.v1.module_system.user.model import UserModel
|
||||||
|
|
||||||
class DeptModel(ModelMixin):
|
class DeptModel(ModelMixin):
|
||||||
"""
|
"""
|
||||||
部门表
|
部门表
|
||||||
|
|||||||
@@ -4,13 +4,16 @@
|
|||||||
定义岗位相关数据模型
|
定义岗位相关数据模型
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from typing import List
|
from typing import TYPE_CHECKING, List
|
||||||
|
|
||||||
from sqlalchemy import Boolean, String, Integer
|
from sqlalchemy import Boolean, String, Integer
|
||||||
from sqlalchemy.orm import relationship, Mapped, mapped_column
|
from sqlalchemy.orm import relationship, Mapped, mapped_column
|
||||||
|
|
||||||
from app.core.base_model import CreatorMixin
|
from app.core.base_model import CreatorMixin
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from app.api.v1.module_system.user.model import UserModel
|
||||||
|
|
||||||
|
|
||||||
class PositionModel(CreatorMixin):
|
class PositionModel(CreatorMixin):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -0,0 +1,185 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import importlib
|
||||||
|
import inspect
|
||||||
|
import os
|
||||||
|
from pathlib import Path
|
||||||
|
from functools import lru_cache
|
||||||
|
from sqlalchemy import inspect as sa_inspect
|
||||||
|
from typing import Any, List, Set, Type
|
||||||
|
|
||||||
|
from app.config.setting import settings
|
||||||
|
|
||||||
|
|
||||||
|
class ImportUtil:
|
||||||
|
@classmethod
|
||||||
|
def find_project_root(cls) -> Path:
|
||||||
|
"""
|
||||||
|
查找项目根目录
|
||||||
|
|
||||||
|
:return: 项目根目录路径
|
||||||
|
"""
|
||||||
|
return settings.BASE_DIR
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def is_valid_model(cls, obj: Any, base_class: Type) -> bool:
|
||||||
|
"""
|
||||||
|
验证是否为有效的SQLAlchemy模型类
|
||||||
|
|
||||||
|
:param obj: 待验证的对象
|
||||||
|
:param base_class: SQLAlchemy的基类
|
||||||
|
:return: 验证结果
|
||||||
|
"""
|
||||||
|
# 必须继承自base_class且不是base_class本身
|
||||||
|
if not (inspect.isclass(obj) and issubclass(obj, base_class) and obj is not base_class):
|
||||||
|
return False
|
||||||
|
|
||||||
|
# 必须有表名定义(排除抽象基类)
|
||||||
|
if not hasattr(obj, '__tablename__') or obj.__tablename__ is None:
|
||||||
|
return False
|
||||||
|
|
||||||
|
# 必须有至少一个列定义
|
||||||
|
try:
|
||||||
|
return len(sa_inspect(obj).columns) > 0
|
||||||
|
except Exception:
|
||||||
|
return False
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
@lru_cache(maxsize=256)
|
||||||
|
def find_models(cls, base_class: Type) -> List[Any]:
|
||||||
|
"""
|
||||||
|
查找并过滤有效的模型类,避免重复和无效定义
|
||||||
|
|
||||||
|
:param base_class: SQLAlchemy的Base类,用于验证模型类
|
||||||
|
:return: 有效模型类列表
|
||||||
|
"""
|
||||||
|
models = []
|
||||||
|
# 按类对象去重
|
||||||
|
seen_models = set()
|
||||||
|
# 按表名去重(防止同表名冲突)
|
||||||
|
seen_tables = set()
|
||||||
|
# 记录已经处理过的model.py文件路径
|
||||||
|
processed_model_files = set()
|
||||||
|
|
||||||
|
project_root = cls.find_project_root()
|
||||||
|
print(f"⏰️ 开始在项目根目录 {project_root} 中查找模型...")
|
||||||
|
|
||||||
|
# 排除目录扩展
|
||||||
|
exclude_dirs = {
|
||||||
|
'venv',
|
||||||
|
'.env',
|
||||||
|
'.git',
|
||||||
|
'__pycache__',
|
||||||
|
'migrations',
|
||||||
|
'alembic',
|
||||||
|
'tests',
|
||||||
|
'test',
|
||||||
|
'docs',
|
||||||
|
'examples',
|
||||||
|
'scripts',
|
||||||
|
'.venv',
|
||||||
|
'__pycache__',
|
||||||
|
'static',
|
||||||
|
'templates',
|
||||||
|
'sql',
|
||||||
|
'env'
|
||||||
|
}
|
||||||
|
|
||||||
|
# 定义要搜索的模型目录模式
|
||||||
|
model_dir_patterns = [
|
||||||
|
'model.py',
|
||||||
|
'models.py'
|
||||||
|
]
|
||||||
|
|
||||||
|
# 使用一个更高效的方法来查找所有model.py文件
|
||||||
|
model_files = []
|
||||||
|
for root, dirs, files in os.walk(project_root):
|
||||||
|
# 过滤排除目录
|
||||||
|
dirs[:] = [d for d in dirs if d not in exclude_dirs]
|
||||||
|
|
||||||
|
for file in files:
|
||||||
|
if file in model_dir_patterns:
|
||||||
|
file_path = Path(root) / file
|
||||||
|
# 构建相对于项目根的模块路径
|
||||||
|
relative_path = file_path.relative_to(project_root)
|
||||||
|
model_files.append((file_path, relative_path))
|
||||||
|
|
||||||
|
print(f"🔍 找到 {len(model_files)} 个模型文件")
|
||||||
|
|
||||||
|
# 按模块路径排序,确保先导入基础模块
|
||||||
|
model_files.sort(key=lambda x: str(x[1]))
|
||||||
|
|
||||||
|
for file_path, relative_path in model_files:
|
||||||
|
# 确保文件路径没有被处理过
|
||||||
|
if str(file_path) in processed_model_files:
|
||||||
|
continue
|
||||||
|
|
||||||
|
processed_model_files.add(str(file_path))
|
||||||
|
|
||||||
|
# 构建模块名(将路径分隔符转换为点)
|
||||||
|
module_parts = relative_path.parts[:-1] + (relative_path.stem,)
|
||||||
|
module_name = '.'.join(module_parts)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# 导入模块
|
||||||
|
module = importlib.import_module(module_name)
|
||||||
|
|
||||||
|
# 获取模块中的所有类
|
||||||
|
for name, obj in inspect.getmembers(module, inspect.isclass):
|
||||||
|
# 验证模型有效性
|
||||||
|
if not cls.is_valid_model(obj, base_class):
|
||||||
|
continue
|
||||||
|
|
||||||
|
# 检查类对象重复
|
||||||
|
if obj in seen_models:
|
||||||
|
continue
|
||||||
|
|
||||||
|
# 检查表名重复
|
||||||
|
table_name = obj.__tablename__
|
||||||
|
if table_name in seen_tables:
|
||||||
|
continue
|
||||||
|
|
||||||
|
# 添加到已处理集合
|
||||||
|
seen_models.add(obj)
|
||||||
|
seen_tables.add(table_name)
|
||||||
|
models.append(obj)
|
||||||
|
print(f'✅️ 找到有效模型: {obj.__module__}.{obj.__name__} (表: {table_name})')
|
||||||
|
|
||||||
|
except ImportError as e:
|
||||||
|
if 'cannot import name' not in str(e):
|
||||||
|
print(f'❗️ 警告: 无法导入模块 {module_name}: {e}')
|
||||||
|
except Exception as e:
|
||||||
|
print(f'❌️ 处理模块 {module_name} 时出错: {e}')
|
||||||
|
|
||||||
|
# 查找apscheduler_jobs表的模型(如果存在)
|
||||||
|
cls._find_apscheduler_model(base_class, models, seen_models, seen_tables)
|
||||||
|
|
||||||
|
return models
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def _find_apscheduler_model(cls, base_class: Type, models: List[Any], seen_models: Set[Any], seen_tables: Set[str]):
|
||||||
|
"""
|
||||||
|
专门查找APScheduler相关的模型
|
||||||
|
|
||||||
|
:param base_class: SQLAlchemy的Base类
|
||||||
|
:param models: 模型列表
|
||||||
|
:param seen_models: 已处理的模型集合
|
||||||
|
:param seen_tables: 已处理的表名集合
|
||||||
|
"""
|
||||||
|
# 尝试从apscheduler相关模块导入
|
||||||
|
try:
|
||||||
|
# 检查是否有自定义的apscheduler模型
|
||||||
|
for module_name in ['app.core.ap_scheduler', 'app.module_task.scheduler_test']:
|
||||||
|
try:
|
||||||
|
module = importlib.import_module(module_name)
|
||||||
|
for name, obj in inspect.getmembers(module, inspect.isclass):
|
||||||
|
if cls.is_valid_model(obj, base_class) and hasattr(obj, '__tablename__') and obj.__tablename__ == 'apscheduler_jobs':
|
||||||
|
if obj not in seen_models and 'apscheduler_jobs' not in seen_tables:
|
||||||
|
seen_models.add(obj)
|
||||||
|
seen_tables.add('apscheduler_jobs')
|
||||||
|
models.append(obj)
|
||||||
|
print(f'✅️ 找到有效模型: {obj.__module__}.{obj.__name__} (表: apscheduler_jobs)')
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
except Exception as e:
|
||||||
|
print(f'❗️ 查找APScheduler模型时出错: {e}')
|
||||||
+3
-3
@@ -53,13 +53,13 @@ def run(env: EnvironmentEnum = typer.Option(EnvironmentEnum.DEV, "--env", help="
|
|||||||
)
|
)
|
||||||
|
|
||||||
@shell_app.command()
|
@shell_app.command()
|
||||||
def revision(message: str, env: EnvironmentEnum = typer.Option(EnvironmentEnum.DEV, "--env", help="运行环境 (dev, prod)")) -> None:
|
def revision(env: EnvironmentEnum = typer.Option(EnvironmentEnum.DEV, "--env", help="运行环境 (dev, prod)")) -> None:
|
||||||
"""
|
"""
|
||||||
生成新的 Alembic 迁移脚本。
|
生成新的 Alembic 迁移脚本。
|
||||||
"""
|
"""
|
||||||
os.environ["ENVIRONMENT"] = env.value
|
os.environ["ENVIRONMENT"] = env.value
|
||||||
command.revision(alembic_cfg, message=message, autogenerate=True)
|
command.revision(alembic_cfg, autogenerate=True, message="迁移脚本")
|
||||||
typer.echo(f"迁移脚本已生成: {message}")
|
typer.echo(f"迁移脚本已生成")
|
||||||
|
|
||||||
@shell_app.command()
|
@shell_app.command()
|
||||||
def upgrade(env: EnvironmentEnum = typer.Option(EnvironmentEnum.DEV, "--env", help="运行环境 (dev, prod)")) -> None:
|
def upgrade(env: EnvironmentEnum = typer.Option(EnvironmentEnum.DEV, "--env", help="运行环境 (dev, prod)")) -> None:
|
||||||
|
|||||||
+76
-39
File diff suppressed because one or more lines are too long
+267
-343
@@ -21,6 +21,17 @@ SET default_tablespace = '';
|
|||||||
|
|
||||||
SET default_table_access_method = heap;
|
SET default_table_access_method = heap;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: alembic_version; Type: TABLE; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE public.alembic_version (
|
||||||
|
version_num character varying(32) NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE public.alembic_version OWNER TO tao;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: app_ai_mcp; Type: TABLE; Schema: public; Owner: tao
|
-- Name: app_ai_mcp; Type: TABLE; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -585,6 +596,19 @@ ALTER SEQUENCE public.app_myapp_id_seq OWNER TO tao;
|
|||||||
ALTER SEQUENCE public.app_myapp_id_seq OWNED BY public.app_myapp.id;
|
ALTER SEQUENCE public.app_myapp_id_seq OWNED BY public.app_myapp.id;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: apscheduler_jobs; Type: TABLE; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE public.apscheduler_jobs (
|
||||||
|
id character varying(191) NOT NULL,
|
||||||
|
next_run_time double precision,
|
||||||
|
job_state bytea NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE public.apscheduler_jobs OWNER TO tao;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: gen_demo; Type: TABLE; Schema: public; Owner: tao
|
-- Name: gen_demo; Type: TABLE; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -687,18 +711,14 @@ ALTER SEQUENCE public.gen_demo_id_seq OWNED BY public.gen_demo.id;
|
|||||||
CREATE TABLE public.gen_table (
|
CREATE TABLE public.gen_table (
|
||||||
table_name character varying(200),
|
table_name character varying(200),
|
||||||
table_comment character varying(500),
|
table_comment character varying(500),
|
||||||
sub_table_name character varying(64),
|
sub_table_name character varying(64) DEFAULT NULL::character varying,
|
||||||
sub_table_fk_name character varying(64),
|
sub_table_fk_name character varying(64) DEFAULT NULL::character varying,
|
||||||
class_name character varying(100),
|
class_name character varying(100),
|
||||||
tpl_category character varying(200),
|
|
||||||
tpl_web_type character varying(30),
|
|
||||||
package_name character varying(100),
|
package_name character varying(100),
|
||||||
module_name character varying(30),
|
module_name character varying(30),
|
||||||
business_name character varying(30),
|
business_name character varying(30),
|
||||||
function_name character varying(100),
|
function_name character varying(100),
|
||||||
function_author character varying(100),
|
|
||||||
gen_type character varying(1),
|
gen_type character varying(1),
|
||||||
gen_path character varying(200),
|
|
||||||
options character varying(1000),
|
options character varying(1000),
|
||||||
creator_id integer,
|
creator_id integer,
|
||||||
id integer NOT NULL,
|
id integer NOT NULL,
|
||||||
@@ -752,20 +772,6 @@ COMMENT ON COLUMN public.gen_table.sub_table_fk_name IS '子表关联的外键
|
|||||||
COMMENT ON COLUMN public.gen_table.class_name IS '实体类名称';
|
COMMENT ON COLUMN public.gen_table.class_name IS '实体类名称';
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: COLUMN gen_table.tpl_category; Type: COMMENT; Schema: public; Owner: tao
|
|
||||||
--
|
|
||||||
|
|
||||||
COMMENT ON COLUMN public.gen_table.tpl_category IS '使用的模板(crud单表操作 tree树表操作)';
|
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: COLUMN gen_table.tpl_web_type; Type: COMMENT; Schema: public; Owner: tao
|
|
||||||
--
|
|
||||||
|
|
||||||
COMMENT ON COLUMN public.gen_table.tpl_web_type IS '前端模板类型(element-ui模版 element-plus模版)';
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: COLUMN gen_table.package_name; Type: COMMENT; Schema: public; Owner: tao
|
-- Name: COLUMN gen_table.package_name; Type: COMMENT; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -794,25 +800,11 @@ COMMENT ON COLUMN public.gen_table.business_name IS '生成业务名';
|
|||||||
COMMENT ON COLUMN public.gen_table.function_name IS '生成功能名';
|
COMMENT ON COLUMN public.gen_table.function_name IS '生成功能名';
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: COLUMN gen_table.function_author; Type: COMMENT; Schema: public; Owner: tao
|
|
||||||
--
|
|
||||||
|
|
||||||
COMMENT ON COLUMN public.gen_table.function_author IS '生成功能作者';
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: COLUMN gen_table.gen_type; Type: COMMENT; Schema: public; Owner: tao
|
-- Name: COLUMN gen_table.gen_type; Type: COMMENT; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
COMMENT ON COLUMN public.gen_table.gen_type IS '生成代码方式(0zip压缩包 1自定义路径)';
|
COMMENT ON COLUMN public.gen_table.gen_type IS '生成代码方式(0zip压缩包 1生成项目路径)';
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: COLUMN gen_table.gen_path; Type: COMMENT; Schema: public; Owner: tao
|
|
||||||
--
|
|
||||||
|
|
||||||
COMMENT ON COLUMN public.gen_table.gen_path IS '生成路径(不填默认项目路径)';
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -865,6 +857,8 @@ CREATE TABLE public.gen_table_column (
|
|||||||
column_name character varying(200),
|
column_name character varying(200),
|
||||||
column_comment character varying(500),
|
column_comment character varying(500),
|
||||||
column_type character varying(100),
|
column_type character varying(100),
|
||||||
|
column_length character varying(50),
|
||||||
|
column_default character varying(200),
|
||||||
python_type character varying(500),
|
python_type character varying(500),
|
||||||
python_field character varying(200),
|
python_field character varying(200),
|
||||||
is_pk character varying(1),
|
is_pk character varying(1),
|
||||||
@@ -918,6 +912,20 @@ COMMENT ON COLUMN public.gen_table_column.column_comment IS '列描述';
|
|||||||
COMMENT ON COLUMN public.gen_table_column.column_type IS '列类型';
|
COMMENT ON COLUMN public.gen_table_column.column_type IS '列类型';
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: COLUMN gen_table_column.column_length; Type: COMMENT; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON COLUMN public.gen_table_column.column_length IS '列长度';
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: COLUMN gen_table_column.column_default; Type: COMMENT; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
COMMENT ON COLUMN public.gen_table_column.column_default IS '列默认值';
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: COLUMN gen_table_column.python_type; Type: COMMENT; Schema: public; Owner: tao
|
-- Name: COLUMN gen_table_column.python_type; Type: COMMENT; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -2711,6 +2719,15 @@ ALTER TABLE ONLY public.system_role ALTER COLUMN id SET DEFAULT nextval('public.
|
|||||||
ALTER TABLE ONLY public.system_users ALTER COLUMN id SET DEFAULT nextval('public.system_users_id_seq'::regclass);
|
ALTER TABLE ONLY public.system_users ALTER COLUMN id SET DEFAULT nextval('public.system_users_id_seq'::regclass);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for Name: alembic_version; Type: TABLE DATA; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY public.alembic_version (version_num) FROM stdin;
|
||||||
|
6c7e4900f15f
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Data for Name: app_ai_mcp; Type: TABLE DATA; Schema: public; Owner: tao
|
-- Data for Name: app_ai_mcp; Type: TABLE DATA; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -2743,6 +2760,14 @@ COPY public.app_myapp (name, status, access_url, icon_url, creator_id, id, descr
|
|||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Data for Name: apscheduler_jobs; Type: TABLE DATA; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
COPY public.apscheduler_jobs (id, next_run_time, job_state) FROM stdin;
|
||||||
|
\.
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Data for Name: gen_demo; Type: TABLE DATA; Schema: public; Owner: tao
|
-- Data for Name: gen_demo; Type: TABLE DATA; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -2755,7 +2780,7 @@ COPY public.gen_demo (name, status, creator_id, id, description, created_at, upd
|
|||||||
-- Data for Name: gen_table; Type: TABLE DATA; Schema: public; Owner: tao
|
-- Data for Name: gen_table; Type: TABLE DATA; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
COPY public.gen_table (table_name, table_comment, sub_table_name, sub_table_fk_name, class_name, tpl_category, tpl_web_type, package_name, module_name, business_name, function_name, function_author, gen_type, gen_path, options, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.gen_table (table_name, table_comment, sub_table_name, sub_table_fk_name, class_name, package_name, module_name, business_name, function_name, gen_type, options, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2763,7 +2788,7 @@ COPY public.gen_table (table_name, table_comment, sub_table_name, sub_table_fk_n
|
|||||||
-- Data for Name: gen_table_column; Type: TABLE DATA; Schema: public; Owner: tao
|
-- Data for Name: gen_table_column; Type: TABLE DATA; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
COPY public.gen_table_column (column_name, column_comment, column_type, python_type, python_field, is_pk, is_increment, is_required, is_unique, is_insert, is_edit, is_list, is_query, query_type, html_type, dict_type, sort, table_id, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.gen_table_column (column_name, column_comment, column_type, column_length, column_default, python_type, python_field, is_pk, is_increment, is_required, is_unique, is_insert, is_edit, is_list, is_query, query_type, html_type, dict_type, sort, table_id, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2772,13 +2797,10 @@ COPY public.gen_table_column (column_name, column_comment, column_type, python_t
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_dept (id, name, "order", code, status, parent_id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_dept (id, name, "order", code, status, parent_id, description, created_at, updated_at) FROM stdin;
|
||||||
1 集团总公司 1 GROUP001 t \N 集团总公司 2025-10-08 04:13:49.417656 2025-10-08 04:13:49.417661
|
1 集团总公司 1 GROUP t \N 集团总公司 2025-11-08 01:37:41.088711 2025-11-08 01:37:41.088715
|
||||||
2 北京分公司 1 BJ001 t 1 北京分公司 2025-10-08 04:13:49.420126 2025-10-08 04:13:49.420128
|
2 北京分公司 1 BJ t 1 北京分公司 2025-11-08 01:37:41.091516 2025-11-08 01:37:41.091518
|
||||||
3 上海分公司 2 SH001 t 1 上海分公司 2025-10-08 04:13:49.420129 2025-10-08 04:13:49.42013
|
3 软件部 1 TECH t 2 软件部 2025-11-08 01:37:41.092386 2025-11-08 01:37:41.092387
|
||||||
4 技术部 1 TECH001 t 2 技术部 2025-10-08 04:13:49.421611 2025-10-08 04:13:49.421613
|
4 开发组 1 DEV t 3 开发部 2025-11-08 01:37:41.092854 2025-11-08 01:37:41.092855
|
||||||
5 销售部 2 SALES001 t 2 销售部 2025-10-08 04:13:49.421613 2025-10-08 04:13:49.421614
|
|
||||||
6 市场部 1 MARKET001 t 3 市场部 2025-10-08 04:13:49.421614 2025-10-08 04:13:49.421615
|
|
||||||
7 人事部 2 HR001 t 3 人事部 2025-10-08 04:13:49.421615 2025-10-08 04:13:49.421615
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2787,40 +2809,40 @@ COPY public.system_dept (id, name, "order", code, status, parent_id, description
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_dict_data (dict_sort, dict_label, dict_value, dict_type, status, css_class, list_class, is_default, dict_type_id, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_dict_data (dict_sort, dict_label, dict_value, dict_type, status, css_class, list_class, is_default, dict_type_id, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
1 男 0 sys_user_sex t blue \N t \N 1 1 性别男 2025-10-08 04:13:49.461501 2025-10-08 04:13:49.461502
|
1 男 0 sys_user_sex t blue \N t \N 1 1 性别男 2025-11-08 01:37:41.151958 2025-11-08 01:37:41.15196
|
||||||
2 女 1 sys_user_sex t pink \N f \N 1 2 性别女 2025-10-08 04:13:49.461502 2025-10-08 04:13:49.461503
|
2 女 1 sys_user_sex t pink \N f \N 1 2 性别女 2025-11-08 01:37:41.15196 2025-11-08 01:37:41.151961
|
||||||
3 未知 2 sys_user_sex t red \N f \N 1 3 性别未知 2025-10-08 04:13:49.461503 2025-10-08 04:13:49.461504
|
3 未知 2 sys_user_sex t red \N f \N 1 3 性别未知 2025-11-08 01:37:41.151961 2025-11-08 01:37:41.151962
|
||||||
1 启用 1 sys_common_status t primary f \N 1 4 启用状态 2025-10-08 04:13:49.461504 2025-10-08 04:13:49.461504
|
1 启用 1 sys_common_status t primary f \N 1 4 启用状态 2025-11-08 01:37:41.151962 2025-11-08 01:37:41.151962
|
||||||
2 停用 0 sys_common_status t danger f \N 1 5 停用状态 2025-10-08 04:13:49.461505 2025-10-08 04:13:49.461505
|
2 停用 0 sys_common_status t danger f \N 1 5 停用状态 2025-11-08 01:37:41.151963 2025-11-08 01:37:41.151963
|
||||||
1 是 1 sys_yes_no t primary t \N 1 6 是 2025-10-08 04:13:49.461506 2025-10-08 04:13:49.461506
|
1 是 1 sys_yes_no t primary t \N 1 6 是 2025-11-08 01:37:41.151964 2025-11-08 01:37:41.151964
|
||||||
2 否 0 sys_yes_no t danger f \N 1 7 否 2025-10-08 04:13:49.461506 2025-10-08 04:13:49.461507
|
2 否 0 sys_yes_no t danger f \N 1 7 否 2025-11-08 01:37:41.151964 2025-11-08 01:37:41.151965
|
||||||
99 其他 0 sys_oper_type t info f \N 1 8 其他操作 2025-10-08 04:13:49.461507 2025-10-08 04:13:49.461507
|
99 其他 0 sys_oper_type t info f \N 1 8 其他操作 2025-11-08 01:37:41.151965 2025-11-08 01:37:41.151966
|
||||||
1 新增 1 sys_oper_type t info f \N 1 9 新增操作 2025-10-08 04:13:49.461508 2025-10-08 04:13:49.461508
|
1 新增 1 sys_oper_type t info f \N 1 9 新增操作 2025-11-08 01:37:41.151966 2025-11-08 01:37:41.151966
|
||||||
2 修改 2 sys_oper_type t info f \N 1 10 修改操作 2025-10-08 04:13:49.461509 2025-10-08 04:13:49.461509
|
2 修改 2 sys_oper_type t info f \N 1 10 修改操作 2025-11-08 01:37:41.151967 2025-11-08 01:37:41.151967
|
||||||
3 删除 3 sys_oper_type t danger f \N 1 11 删除操作 2025-10-08 04:13:49.461509 2025-10-08 04:13:49.46151
|
3 删除 3 sys_oper_type t danger f \N 1 11 删除操作 2025-11-08 01:37:41.151968 2025-11-08 01:37:41.151968
|
||||||
4 分配权限 4 sys_oper_type t primary f \N 1 12 授权操作 2025-10-08 04:13:49.46151 2025-10-08 04:13:49.46151
|
4 分配权限 4 sys_oper_type t primary f \N 1 12 授权操作 2025-11-08 01:37:41.151968 2025-11-08 01:37:41.151969
|
||||||
5 导出 5 sys_oper_type t warning f \N 1 13 导出操作 2025-10-08 04:13:49.461511 2025-10-08 04:13:49.461511
|
5 导出 5 sys_oper_type t warning f \N 1 13 导出操作 2025-11-08 01:37:41.151969 2025-11-08 01:37:41.15197
|
||||||
6 导入 6 sys_oper_type t warning f \N 1 14 导入操作 2025-10-08 04:13:49.461512 2025-10-08 04:13:49.461512
|
6 导入 6 sys_oper_type t warning f \N 1 14 导入操作 2025-11-08 01:37:41.15197 2025-11-08 01:37:41.15197
|
||||||
7 强退 7 sys_oper_type t danger f \N 1 15 强退操作 2025-10-08 04:13:49.461512 2025-10-08 04:13:49.461513
|
7 强退 7 sys_oper_type t danger f \N 1 15 强退操作 2025-11-08 01:37:41.151971 2025-11-08 01:37:41.151971
|
||||||
8 生成代码 8 sys_oper_type t warning f \N 1 16 生成操作 2025-10-08 04:13:49.461513 2025-10-08 04:13:49.461513
|
8 生成代码 8 sys_oper_type t warning f \N 1 16 生成操作 2025-11-08 01:37:41.151972 2025-11-08 01:37:41.151972
|
||||||
9 清空数据 9 sys_oper_type t danger f \N 1 17 清空操作 2025-10-08 04:13:49.461514 2025-10-08 04:13:49.461514
|
9 清空数据 9 sys_oper_type t danger f \N 1 17 清空操作 2025-11-08 01:37:41.151972 2025-11-08 01:37:41.151973
|
||||||
1 通知 1 sys_notice_type t blue warning t \N 1 18 通知 2025-10-08 04:13:49.461514 2025-10-08 04:13:49.461515
|
1 通知 1 sys_notice_type t blue warning t \N 1 18 通知 2025-11-08 01:37:41.151973 2025-11-08 01:37:41.151974
|
||||||
2 公告 2 sys_notice_type t orange success f \N 1 19 公告 2025-10-08 04:13:49.461515 2025-10-08 04:13:49.461515
|
2 公告 2 sys_notice_type t orange success f \N 1 19 公告 2025-11-08 01:37:41.151974 2025-11-08 01:37:41.151974
|
||||||
1 默认(Memory) default sys_job_store t \N t \N 1 20 默认分组 2025-10-08 04:13:49.461516 2025-10-08 04:13:49.461516
|
1 默认(Memory) default sys_job_store t \N t \N 1 20 默认分组 2025-11-08 01:37:41.151975 2025-11-08 01:37:41.151975
|
||||||
2 数据库(Sqlalchemy) sqlalchemy sys_job_store t \N f \N 1 21 数据库分组 2025-10-08 04:13:49.461516 2025-10-08 04:13:49.461517
|
2 数据库(Sqlalchemy) sqlalchemy sys_job_store t \N f \N 1 21 数据库分组 2025-11-08 01:37:41.151976 2025-11-08 01:37:41.151976
|
||||||
3 数据库(Redis) redis sys_job_store t \N f \N 1 22 reids分组 2025-10-08 04:13:49.461517 2025-10-08 04:13:49.461517
|
3 数据库(Redis) redis sys_job_store t \N f \N 1 22 reids分组 2025-11-08 01:37:41.151976 2025-11-08 01:37:41.151977
|
||||||
1 线程池 default sys_job_executor t \N f \N 1 23 线程池 2025-10-08 04:13:49.461518 2025-10-08 04:13:49.461518
|
1 线程池 default sys_job_executor t \N f \N 1 23 线程池 2025-11-08 01:37:41.151977 2025-11-08 01:37:41.151978
|
||||||
2 进程池 processpool sys_job_executor t \N f \N 1 24 进程池 2025-10-08 04:13:49.461519 2025-10-08 04:13:49.461519
|
2 进程池 processpool sys_job_executor t \N f \N 1 24 进程池 2025-11-08 01:37:41.151978 2025-11-08 01:37:41.151978
|
||||||
1 演示函数 scheduler_test.job sys_job_function t \N t \N 1 25 演示函数 2025-10-08 04:13:49.461519 2025-10-08 04:13:49.46152
|
1 演示函数 scheduler_test.job sys_job_function t \N t \N 1 25 演示函数 2025-11-08 01:37:41.151979 2025-11-08 01:37:41.151979
|
||||||
1 指定日期(date) date sys_job_trigger t \N t \N 1 26 指定日期任务触发器 2025-10-08 04:13:49.46152 2025-10-08 04:13:49.46152
|
1 指定日期(date) date sys_job_trigger t \N t \N 1 26 指定日期任务触发器 2025-11-08 01:37:41.15198 2025-11-08 01:37:41.15198
|
||||||
2 间隔触发器(interval) interval sys_job_trigger t \N f \N 1 27 间隔触发器任务触发器 2025-10-08 04:13:49.461521 2025-10-08 04:13:49.461521
|
2 间隔触发器(interval) interval sys_job_trigger t \N f \N 1 27 间隔触发器任务触发器 2025-11-08 01:37:41.15198 2025-11-08 01:37:41.151981
|
||||||
3 cron表达式 cron sys_job_trigger t \N f \N 1 28 间隔触发器任务触发器 2025-10-08 04:13:49.461521 2025-10-08 04:13:49.461522
|
3 cron表达式 cron sys_job_trigger t \N f \N 1 28 间隔触发器任务触发器 2025-11-08 01:37:41.151981 2025-11-08 01:37:41.151981
|
||||||
1 默认(default) default sys_list_class t \N t \N 1 29 默认表格回显样式 2025-10-08 04:13:49.461522 2025-10-08 04:13:49.461522
|
1 默认(default) default sys_list_class t \N t \N 1 29 默认表格回显样式 2025-11-08 01:37:41.151982 2025-11-08 01:37:41.151982
|
||||||
2 主要(primary) primary sys_list_class t \N f \N 1 30 主要表格回显样式 2025-10-08 04:13:49.461523 2025-10-08 04:13:49.461523
|
2 主要(primary) primary sys_list_class t \N f \N 1 30 主要表格回显样式 2025-11-08 01:37:41.151983 2025-11-08 01:37:41.151983
|
||||||
3 成功(success) success sys_list_class t \N f \N 1 31 成功表格回显样式 2025-10-08 04:13:49.461523 2025-10-08 04:13:49.461524
|
3 成功(success) success sys_list_class t \N f \N 1 31 成功表格回显样式 2025-11-08 01:37:41.151983 2025-11-08 01:37:41.151984
|
||||||
4 信息(info) info sys_list_class t \N f \N 1 32 信息表格回显样式 2025-10-08 04:13:49.461524 2025-10-08 04:13:49.461524
|
4 信息(info) info sys_list_class t \N f \N 1 32 信息表格回显样式 2025-11-08 01:37:41.151986 2025-11-08 01:37:41.151986
|
||||||
5 警告(warning) warning sys_list_class t \N f \N 1 33 警告表格回显样式 2025-10-08 04:13:49.461525 2025-10-08 04:13:49.461525
|
5 警告(warning) warning sys_list_class t \N f \N 1 33 警告表格回显样式 2025-11-08 01:37:41.151987 2025-11-08 01:37:41.151987
|
||||||
6 危险(danger) danger sys_list_class t \N f \N 1 34 危险表格回显样式 2025-10-08 04:13:49.461526 2025-10-08 04:13:49.461526
|
6 危险(danger) danger sys_list_class t \N f \N 1 34 危险表格回显样式 2025-11-08 01:37:41.151987 2025-11-08 01:37:41.151988
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2829,16 +2851,16 @@ COPY public.system_dict_data (dict_sort, dict_label, dict_value, dict_type, stat
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_dict_type (dict_name, dict_type, status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_dict_type (dict_name, dict_type, status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
用户性别 sys_user_sex t 1 1 用户性别列表 2025-10-08 04:13:49.45812 2025-10-08 04:13:49.458121
|
用户性别 sys_user_sex t 1 1 用户性别列表 2025-11-08 01:37:41.147277 2025-11-08 01:37:41.147279
|
||||||
系统是否 sys_yes_no t 1 2 系统是否列表 2025-10-08 04:13:49.458122 2025-10-08 04:13:49.458122
|
系统是否 sys_yes_no t 1 2 系统是否列表 2025-11-08 01:37:41.147279 2025-11-08 01:37:41.14728
|
||||||
系统状态 sys_common_status t 1 3 系统状态 2025-10-08 04:13:49.458123 2025-10-08 04:13:49.458123
|
系统状态 sys_common_status t 1 3 系统状态 2025-11-08 01:37:41.14728 2025-11-08 01:37:41.147281
|
||||||
通知类型 sys_notice_type t 1 4 通知类型列表 2025-10-08 04:13:49.458124 2025-10-08 04:13:49.458124
|
通知类型 sys_notice_type t 1 4 通知类型列表 2025-11-08 01:37:41.147281 2025-11-08 01:37:41.147281
|
||||||
操作类型 sys_oper_type t 1 5 操作类型列表 2025-10-08 04:13:49.458124 2025-10-08 04:13:49.458125
|
操作类型 sys_oper_type t 1 5 操作类型列表 2025-11-08 01:37:41.147282 2025-11-08 01:37:41.147282
|
||||||
任务存储器 sys_job_store t 1 6 任务分组列表 2025-10-08 04:13:49.458125 2025-10-08 04:13:49.458126
|
任务存储器 sys_job_store t 1 6 任务分组列表 2025-11-08 01:37:41.147283 2025-11-08 01:37:41.147283
|
||||||
任务执行器 sys_job_executor t 1 7 任务执行器列表 2025-10-08 04:13:49.458126 2025-10-08 04:13:49.458126
|
任务执行器 sys_job_executor t 1 7 任务执行器列表 2025-11-08 01:37:41.147283 2025-11-08 01:37:41.147284
|
||||||
任务函数 sys_job_function t 1 8 任务函数列表 2025-10-08 04:13:49.458127 2025-10-08 04:13:49.458127
|
任务函数 sys_job_function t 1 8 任务函数列表 2025-11-08 01:37:41.147284 2025-11-08 01:37:41.147285
|
||||||
任务触发器 sys_job_trigger t 1 9 任务触发器列表 2025-10-08 04:13:49.458128 2025-10-08 04:13:49.458128
|
任务触发器 sys_job_trigger t 1 9 任务触发器列表 2025-11-08 01:37:41.147285 2025-11-08 01:37:41.147285
|
||||||
表格回显样式 sys_list_class t 1 10 表格回显样式列表 2025-10-08 04:13:49.458128 2025-10-08 04:13:49.458129
|
表格回显样式 sys_list_class t 1 10 表格回显样式列表 2025-11-08 01:37:41.147286 2025-11-08 01:37:41.147286
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2855,119 +2877,117 @@ COPY public.system_log (type, request_path, request_method, request_payload, req
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_menu (id, name, type, "order", status, permission, icon, route_name, route_path, component_path, redirect, hidden, keep_alive, always_show, title, params, affix, parent_id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_menu (id, name, type, "order", status, permission, icon, route_name, route_path, component_path, redirect, hidden, keep_alive, always_show, title, params, affix, parent_id, description, created_at, updated_at) FROM stdin;
|
||||||
1 仪表盘 1 1 t client Dashboard /dashboard \N /dashboard/workplace f t t 仪表盘 null f \N 初始化数据 2025-10-08 04:13:49.430046 2025-10-08 04:13:49.430048
|
1 仪表盘 1 1 t client Dashboard /dashboard \N /dashboard/workplace f t t 仪表盘 null f \N 初始化数据 2025-11-08 01:37:41.103235 2025-11-08 01:37:41.103238
|
||||||
2 系统管理 1 2 t \N system System /system \N /system/menu f t f 系统管理 null f \N 初始化数据 2025-10-08 04:13:49.430048 2025-10-08 04:13:49.430049
|
2 系统管理 1 2 t \N system System /system \N /system/menu f t f 系统管理 null f \N 初始化数据 2025-11-08 01:37:41.103239 2025-11-08 01:37:41.103239
|
||||||
3 应用管理 1 3 t \N el-icon-ShoppingBag Application /application \N /application/myapp f f f 应用管理 null f \N 初始化数据 2025-10-08 04:13:49.430049 2025-10-08 04:13:49.43005
|
3 应用管理 1 3 t \N el-icon-ShoppingBag Application /application \N /application/myapp f f f 应用管理 null f \N 初始化数据 2025-11-08 01:37:41.10324 2025-11-08 01:37:41.10324
|
||||||
4 监控管理 1 4 t \N monitor Monitor /monitor \N /monitor/online f f f 监控管理 null f \N 初始化数据 2025-10-08 04:13:49.43005 2025-10-08 04:13:49.430051
|
4 监控管理 1 4 t \N monitor Monitor /monitor \N /monitor/online f f f 监控管理 null f \N 初始化数据 2025-11-08 01:37:41.103241 2025-11-08 01:37:41.103241
|
||||||
5 代码管理 1 5 t \N code Gencode /gencode \N /ai/mcp f f f 代码管理 null f \N 代码管理 2025-10-08 04:13:49.430051 2025-10-08 04:13:49.430051
|
5 代码管理 1 5 t \N code Gencode /gencode \N /gencode/backcode f f f 代码管理 null f \N 代码管理 2025-11-08 01:37:41.103241 2025-11-08 01:37:41.103242
|
||||||
6 接口管理 1 6 t \N document Common /common \N /common/docs f f f 接口管理 null f \N 初始化数据 2025-10-08 04:13:49.430052 2025-10-08 04:13:49.430052
|
6 接口管理 1 6 t \N document Common /common \N /common/docs f f f 接口管理 null f \N 初始化数据 2025-11-08 01:37:41.103242 2025-11-08 01:37:41.103242
|
||||||
7 工作台 2 1 t dashboard:workplace:query homepage Workplace /dashboard/workplace dashboard/workplace \N f t f 工作台 null t 1 初始化数据 2025-10-08 04:13:49.432157 2025-10-08 04:13:49.432158
|
7 工作台 2 1 t dashboard:workplace:query el-icon-PieChart Workplace /dashboard/workplace dashboard/workplace \N f t f 工作台 null f 1 初始化数据 2025-11-08 01:37:41.109195 2025-11-08 01:37:41.1092
|
||||||
8 分析页 2 2 t dashboard:analysis:query el-icon-PieChart Analysis /dashboard/analysis dashboard/analysis \N f t f 分析页 null f 1 初始化数据 2025-10-08 04:13:49.432159 2025-10-08 04:13:49.432159
|
8 菜单管理 2 1 t system:menu:query menu Menu /system/menu system/menu/index \N f t f 菜单管理 null f 2 初始化数据 2025-11-08 01:37:41.1092 2025-11-08 01:37:41.109201
|
||||||
9 菜单管理 2 1 t system:menu:query menu Menu /system/menu system/menu/index \N f t f 菜单管理 null f 2 初始化数据 2025-10-08 04:13:49.43216 2025-10-08 04:13:49.43216
|
9 部门管理 2 2 t system:dept:query tree Dept /system/dept system/dept/index \N f t f 部门管理 null f 2 初始化数据 2025-11-08 01:37:41.109201 2025-11-08 01:37:41.109201
|
||||||
10 部门管理 2 2 t system:dept:query tree Dept /system/dept system/dept/index \N f t f 部门管理 null f 2 初始化数据 2025-10-08 04:13:49.43216 2025-10-08 04:13:49.432161
|
10 岗位管理 2 3 t system:position:query el-icon-Coordinate Position /system/position system/position/index \N f t f 岗位管理 null f 2 初始化数据 2025-11-08 01:37:41.109202 2025-11-08 01:37:41.109202
|
||||||
11 岗位管理 2 3 t system:position:query el-icon-Coordinate Position /system/position system/position/index \N f t f 岗位管理 null f 2 初始化数据 2025-10-08 04:13:49.432161 2025-10-08 04:13:49.432162
|
11 角色管理 2 4 t system:role:query role Role /system/role system/role/index \N f t f 角色管理 null f 2 初始化数据 2025-11-08 01:37:41.109203 2025-11-08 01:37:41.109203
|
||||||
12 角色管理 2 4 t system:role:query role Role /system/role system/role/index \N f t f 角色管理 null f 2 初始化数据 2025-10-08 04:13:49.432162 2025-10-08 04:13:49.432162
|
12 用户管理 2 5 t system:user:query el-icon-User User /system/user system/user/index \N f t f 用户管理 null f 2 初始化数据 2025-11-08 01:37:41.109203 2025-11-08 01:37:41.109204
|
||||||
13 用户管理 2 5 t system:user:query el-icon-User User /system/user system/user/index \N f t f 用户管理 null f 2 初始化数据 2025-10-08 04:13:49.432163 2025-10-08 04:13:49.432163
|
13 日志管理 2 6 t system:log:query el-icon-Aim Log /system/log system/log/index \N f t f 日志管理 null f 2 初始化数据 2025-11-08 01:37:41.109204 2025-11-08 01:37:41.109204
|
||||||
14 日志管理 2 6 t system:log:query el-icon-Aim Log /system/log system/log/index \N f t f 日志管理 null f 2 初始化数据 2025-10-08 04:13:49.432164 2025-10-08 04:13:49.432164
|
14 公告管理 2 7 t system:notice:query bell Notice /system/notice system/notice/index \N f t f 公告管理 null f 2 初始化数据 2025-11-08 01:37:41.109205 2025-11-08 01:37:41.109205
|
||||||
15 公告管理 2 7 t system:notice:query bell Notice /system/notice system/notice/index \N f t f 公告管理 null f 2 初始化数据 2025-10-08 04:13:49.432165 2025-10-08 04:13:49.432165
|
15 参数管理 2 8 t system:param:query setting Params /system/param system/param/index \N f t f 参数管理 null f 2 初始化数据 2025-11-08 01:37:41.109206 2025-11-08 01:37:41.109206
|
||||||
16 参数管理 2 8 t system:param:query setting Params /system/param system/param/index \N f t f 参数管理 null f 2 初始化数据 2025-10-08 04:13:49.432165 2025-10-08 04:13:49.432166
|
16 字典管理 2 9 t system:dict_type:query dict Dict /system/dict system/dict/index \N f t f 字典管理 null f 2 初始化数据 2025-11-08 01:37:41.109206 2025-11-08 01:37:41.109207
|
||||||
17 字典管理 2 9 t system:dict_type:query dict Dict /system/dict system/dict/index \N f t f 字典管理 null f 2 初始化数据 2025-10-08 04:13:49.432166 2025-10-08 04:13:49.432167
|
17 我的应用 2 1 t app:myapp:query el-icon-ShoppingCartFull MYAPP /application/myapp application/myapp/index \N f t f 我的应用 null f 3 初始化数据 2025-11-08 01:37:41.109207 2025-11-08 01:37:41.109207
|
||||||
18 我的应用 2 1 t app:myapp:query el-icon-ShoppingCartFull MYAPP /application/myapp application/myapp/index \N f t f 我的应用 null f 3 初始化数据 2025-10-08 04:13:49.432167 2025-10-08 04:13:49.432167
|
18 任务管理 2 2 t app:job:query el-icon-DataLine Job /application/job application/job/index \N f t f 任务管理 null f 3 初始化数据 2025-11-08 01:37:41.109208 2025-11-08 01:37:41.109208
|
||||||
19 任务管理 2 2 t app:job:query el-icon-DataLine Job /application/job application/job/index \N f t f 任务管理 null f 3 初始化数据 2025-10-08 04:13:49.432168 2025-10-08 04:13:49.432168
|
19 AI智能助手 2 3 t app:ai:chat el-icon-ToiletPaper AI /application/ai application/ai/index \N f t f AI智能助手 null f 3 AI智能助手 2025-11-08 01:37:41.109208 2025-11-08 01:37:41.109209
|
||||||
20 AI智能助手 2 3 t app:ai:chat el-icon-ToiletPaper AI /application/ai application/ai/index \N f t f AI智能助手 null f 3 AI智能助手 2025-10-08 04:13:49.432168 2025-10-08 04:13:49.432169
|
20 流程管理 2 4 t app:workflow:query el-icon-ShoppingBag Workflow /application/workflow application/workflow/index \N f t f 我的流程 null f 3 我的流程 2025-11-08 01:37:41.109209 2025-11-08 01:37:41.109209
|
||||||
21 流程管理 2 4 t app:workflow:query el-icon-ShoppingBag Workflow /application/workflow application/workflow/index \N f t f 我的流程 null f 3 我的流程 2025-10-08 04:13:49.432169 2025-10-08 04:13:49.43217
|
21 在线用户 2 1 t monitor:online:query el-icon-Headset MonitorOnline /monitor/online monitor/online/index \N f f f 在线用户 null f 4 初始化数据 2025-11-08 01:37:41.10921 2025-11-08 01:37:41.10921
|
||||||
22 在线用户 2 1 t monitor:online:query el-icon-Headset MonitorOnline /monitor/online monitor/online/index \N f f f 在线用户 null f 4 初始化数据 2025-10-08 04:13:49.43217 2025-10-08 04:13:49.43217
|
22 服务器监控 2 2 t monitor:server:query el-icon-Odometer MonitorServer /monitor/server monitor/server/index \N f f f 服务器监控 null f 4 初始化数据 2025-11-08 01:37:41.10921 2025-11-08 01:37:41.109211
|
||||||
23 服务器监控 2 2 t monitor:server:query el-icon-Odometer MonitorServer /monitor/server monitor/server/index \N f f f 服务器监控 null f 4 初始化数据 2025-10-08 04:13:49.432171 2025-10-08 04:13:49.432171
|
23 缓存监控 2 3 t monitor:cache:query el-icon-Stopwatch MonitorCache /monitor/cache monitor/cache/index \N f f f 缓存监控 null f 4 初始化数据 2025-11-08 01:37:41.109211 2025-11-08 01:37:41.109211
|
||||||
24 缓存监控 2 3 t monitor:cache:query el-icon-Stopwatch MonitorCache /monitor/cache monitor/cache/index \N f f f 缓存监控 null f 4 初始化数据 2025-10-08 04:13:49.432172 2025-10-08 04:13:49.432172
|
24 文件管理 2 4 t monitor:resource:query el-icon-Files Resource /monitor/resource monitor/resource/index \N f t f 文件管理 null f 4 初始化数据 2025-11-08 01:37:41.109212 2025-11-08 01:37:41.109212
|
||||||
25 文件管理 2 4 t monitor:resource:query el-icon-Files Resource /monitor/resource monitor/resource/index \N f t f 文件管理 null f 4 初始化数据 2025-10-08 04:13:49.432172 2025-10-08 04:13:49.432173
|
25 代码生成 2 1 t generator:gencode:query code Backcode /gencode/backcode gencode/backcode/index \N f t f 代码生成 null f 5 代码生成 2025-11-08 01:37:41.109213 2025-11-08 01:37:41.109213
|
||||||
26 代码生成 2 1 t generator:gencode:query code Backcode /gencode/backcode gencode/backcode/index \N f t f 代码生成 null f 5 代码生成 2025-10-08 04:13:49.432173 2025-10-08 04:13:49.432173
|
26 示例管理 2 3 t generator:demo:query el-icon-DataLine Demo /gencode/demo gencode/demo/index \N f t f 示例管理 null f 5 初始化数据 2025-11-08 01:37:41.109213 2025-11-08 01:37:41.109214
|
||||||
27 表单构建 2 2 t gencode:gencode:query el-icon-Wallet webcode /gencode/webcode gencode/webcode/index \N f t f 表单构建 null f 5 表单构建 2025-10-08 04:13:49.432174 2025-10-08 04:13:49.432174
|
27 Swagger文档 4 1 t common:docs:query api Docs /common/docs common/docs/index \N f f f Swagger文档 null f 6 初始化数据 2025-11-08 01:37:41.109214 2025-11-08 01:37:41.109214
|
||||||
28 示例管理 2 3 t generator:demo:query el-icon-DataLine Demo /gencode/demo gencode/demo/index \N f t f 示例管理 null f 5 初始化数据 2025-10-08 04:13:49.432175 2025-10-08 04:13:49.432175
|
28 Redoc文档 4 2 t common:redoc:query el-icon-Document Redoc /common/redoc common/redoc/index \N f f f Redoc文档 null f 6 初始化数据 2025-11-08 01:37:41.109215 2025-11-08 01:37:41.109215
|
||||||
29 Swagger文档 4 1 t common:docs:query api Docs /common/docs common/docs/index \N f f f Swagger文档 null f 6 初始化数据 2025-10-08 04:13:49.432175 2025-10-08 04:13:49.432176
|
29 创建菜单 3 1 t system:menu:create \N \N \N \N \N f t f 创建菜单 null f 8 初始化数据 2025-11-08 01:37:41.115178 2025-11-08 01:37:41.115179
|
||||||
30 Redoc文档 4 2 t common:redoc:query el-icon-Document Redoc /common/redoc common/redoc/index \N f f f Redoc文档 null f 6 初始化数据 2025-10-08 04:13:49.432176 2025-10-08 04:13:49.432177
|
30 修改菜单 3 2 t system:menu:update \N \N \N \N \N f t f 修改菜单 null f 8 初始化数据 2025-11-08 01:37:41.115179 2025-11-08 01:37:41.115179
|
||||||
31 创建菜单 3 1 t system:menu:create \N \N \N \N \N f t f 创建菜单 null f 9 初始化数据 2025-10-08 04:13:49.436498 2025-10-08 04:13:49.436501
|
31 删除菜单 3 3 t system:menu:delete \N \N \N \N \N f t f 删除菜单 null f 8 初始化数据 2025-11-08 01:37:41.11518 2025-11-08 01:37:41.11518
|
||||||
32 修改菜单 3 2 t system:menu:update \N \N \N \N \N f t f 修改菜单 null f 9 初始化数据 2025-10-08 04:13:49.436501 2025-10-08 04:13:49.436502
|
32 批量修改菜单状态 3 4 t system:menu:patch \N \N \N \N \N f t f 批量修改菜单状态 null f 8 初始化数据 2025-11-08 01:37:41.115181 2025-11-08 01:37:41.115181
|
||||||
33 删除菜单 3 3 t system:menu:delete \N \N \N \N \N f t f 删除菜单 null f 9 初始化数据 2025-10-08 04:13:49.436502 2025-10-08 04:13:49.436502
|
33 创建部门 3 1 t system:dept:create \N \N \N \N \N f t f 创建部门 null f 9 初始化数据 2025-11-08 01:37:41.115181 2025-11-08 01:37:41.115182
|
||||||
34 批量修改菜单状态 3 4 t system:menu:patch \N \N \N \N \N f t f 批量修改菜单状态 null f 9 初始化数据 2025-10-08 04:13:49.436503 2025-10-08 04:13:49.436503
|
34 修改部门 3 2 t system:dept:update \N \N \N \N \N f t f 修改部门 null f 9 初始化数据 2025-11-08 01:37:41.115182 2025-11-08 01:37:41.115182
|
||||||
35 创建部门 3 1 t system:dept:create \N \N \N \N \N f t f 创建部门 null f 10 初始化数据 2025-10-08 04:13:49.436504 2025-10-08 04:13:49.436504
|
35 删除部门 3 3 t system:dept:delete \N \N \N \N \N f t f 删除部门 null f 9 初始化数据 2025-11-08 01:37:41.115183 2025-11-08 01:37:41.115183
|
||||||
36 修改部门 3 2 t system:dept:update \N \N \N \N \N f t f 修改部门 null f 10 初始化数据 2025-10-08 04:13:49.436504 2025-10-08 04:13:49.436505
|
36 批量修改部门状态 3 4 t system:dept:patch \N \N \N \N \N f t f 批量修改部门状态 null f 9 初始化数据 2025-11-08 01:37:41.115184 2025-11-08 01:37:41.115184
|
||||||
37 删除部门 3 3 t system:dept:delete \N \N \N \N \N f t f 删除部门 null f 10 初始化数据 2025-10-08 04:13:49.436505 2025-10-08 04:13:49.436506
|
37 创建岗位 3 1 t system:position:create \N \N \N \N \N f t f 创建岗位 null f 10 初始化数据 2025-11-08 01:37:41.115184 2025-11-08 01:37:41.115185
|
||||||
38 批量修改部门状态 3 4 t system:dept:patch \N \N \N \N \N f t f 批量修改部门状态 null f 10 初始化数据 2025-10-08 04:13:49.436506 2025-10-08 04:13:49.436506
|
38 修改岗位 3 2 t system:position:update \N \N \N \N \N f t f 修改岗位 null f 10 初始化数据 2025-11-08 01:37:41.115185 2025-11-08 01:37:41.115185
|
||||||
39 创建岗位 3 1 t system:position:create \N \N \N \N \N f t f 创建岗位 null f 11 初始化数据 2025-10-08 04:13:49.436507 2025-10-08 04:13:49.436507
|
39 删除岗位 3 3 t system:position:delete \N \N \N \N \N f t f 修改岗位 null f 10 初始化数据 2025-11-08 01:37:41.115186 2025-11-08 01:37:41.115186
|
||||||
40 修改岗位 3 2 t system:position:update \N \N \N \N \N f t f 修改岗位 null f 11 初始化数据 2025-10-08 04:13:49.436507 2025-10-08 04:13:49.436508
|
40 批量修改岗位状态 3 4 t system:position:patch \N \N \N \N \N f t f 批量修改岗位状态 null f 10 初始化数据 2025-11-08 01:37:41.115186 2025-11-08 01:37:41.115187
|
||||||
41 删除岗位 3 3 t system:position:delete \N \N \N \N \N f t f 修改岗位 null f 11 初始化数据 2025-10-08 04:13:49.436508 2025-10-08 04:13:49.436509
|
41 岗位导出 3 5 t system:position:export \N \N \N \N \N f t f 岗位导出 null f 10 初始化数据 2025-11-08 01:37:41.115187 2025-11-08 01:37:41.115188
|
||||||
42 批量修改岗位状态 3 4 t system:position:patch \N \N \N \N \N f t f 批量修改岗位状态 null f 11 初始化数据 2025-10-08 04:13:49.436509 2025-10-08 04:13:49.436509
|
42 设置角色权限 3 8 t system:role:permission \N \N \N \N \N f t f 设置角色权限 null f 10 初始化数据 2025-11-08 01:37:41.115188 2025-11-08 01:37:41.115188
|
||||||
43 岗位导出 3 5 t system:position:export \N \N \N \N \N f t f 岗位导出 null f 11 初始化数据 2025-10-08 04:13:49.43651 2025-10-08 04:13:49.43651
|
43 创建角色 3 1 t system:role:create \N \N \N \N \N f t f 创建角色 null f 11 初始化数据 2025-11-08 01:37:41.115189 2025-11-08 01:37:41.115189
|
||||||
44 设置角色权限 3 8 t system:role:permission \N \N \N \N \N f t f 设置角色权限 null f 11 初始化数据 2025-10-08 04:13:49.436511 2025-10-08 04:13:49.436511
|
44 修改角色 3 2 t system:role:update \N \N \N \N \N f t f 修改角色 null f 11 初始化数据 2025-11-08 01:37:41.115189 2025-11-08 01:37:41.11519
|
||||||
45 创建角色 3 1 t system:role:create \N \N \N \N \N f t f 创建角色 null f 12 初始化数据 2025-10-08 04:13:49.436511 2025-10-08 04:13:49.436512
|
45 删除角色 3 3 t system:role:delete \N \N \N \N \N f t f 删除角色 null f 11 初始化数据 2025-11-08 01:37:41.11519 2025-11-08 01:37:41.11519
|
||||||
46 修改角色 3 2 t system:role:update \N \N \N \N \N f t f 修改角色 null f 12 初始化数据 2025-10-08 04:13:49.436512 2025-10-08 04:13:49.436512
|
46 批量修改角色状态 3 4 t system:role:patch \N \N \N \N \N f t f 批量修改角色状态 null f 11 初始化数据 2025-11-08 01:37:41.115191 2025-11-08 01:37:41.115191
|
||||||
47 删除角色 3 3 t system:role:delete \N \N \N \N \N f t f 删除角色 null f 12 初始化数据 2025-10-08 04:13:49.436513 2025-10-08 04:13:49.436513
|
47 角色导出 3 6 t system:role:export \N \N \N \N \N f t f 角色导出 null f 11 初始化数据 2025-11-08 01:37:41.115192 2025-11-08 01:37:41.115192
|
||||||
48 批量修改角色状态 3 4 t system:role:patch \N \N \N \N \N f t f 批量修改角色状态 null f 12 初始化数据 2025-10-08 04:13:49.436513 2025-10-08 04:13:49.436514
|
48 创建用户 3 1 t system:user:create \N \N \N \N \N f t f 创建用户 null f 12 初始化数据 2025-11-08 01:37:41.115192 2025-11-08 01:37:41.115193
|
||||||
49 角色导出 3 6 t system:role:export \N \N \N \N \N f t f 角色导出 null f 12 初始化数据 2025-10-08 04:13:49.436514 2025-10-08 04:13:49.436515
|
49 修改用户 3 2 t system:user:update \N \N \N \N \N f t f 修改用户 null f 12 初始化数据 2025-11-08 01:37:41.115193 2025-11-08 01:37:41.115193
|
||||||
50 创建用户 3 1 t system:user:create \N \N \N \N \N f t f 创建用户 null f 13 初始化数据 2025-10-08 04:13:49.436515 2025-10-08 04:13:49.436515
|
50 删除用户 3 3 t system:user:delete \N \N \N \N \N f t f 删除用户 null f 12 初始化数据 2025-11-08 01:37:41.115194 2025-11-08 01:37:41.115194
|
||||||
51 修改用户 3 2 t system:user:update \N \N \N \N \N f t f 修改用户 null f 13 初始化数据 2025-10-08 04:13:49.436516 2025-10-08 04:13:49.436516
|
51 批量修改用户状态 3 4 t system:user:patch \N \N \N \N \N f t f 批量修改用户状态 null f 12 初始化数据 2025-11-08 01:37:41.115194 2025-11-08 01:37:41.115195
|
||||||
52 删除用户 3 3 t system:user:delete \N \N \N \N \N f t f 删除用户 null f 13 初始化数据 2025-10-08 04:13:49.436516 2025-10-08 04:13:49.436517
|
52 导出用户 3 5 t system:user:export \N \N \N \N \N f t f 导出用户 null f 12 初始化数据 2025-11-08 01:37:41.115195 2025-11-08 01:37:41.115196
|
||||||
53 批量修改用户状态 3 4 t system:user:patch \N \N \N \N \N f t f 批量修改用户状态 null f 13 初始化数据 2025-10-08 04:13:49.436517 2025-10-08 04:13:49.436517
|
53 导入用户 3 6 t system:user:import \N \N \N \N \N f t f 导入用户 null f 12 初始化数据 2025-11-08 01:37:41.115196 2025-11-08 01:37:41.115196
|
||||||
54 导出用户 3 5 t system:user:export \N \N \N \N \N f t f 导出用户 null f 13 初始化数据 2025-10-08 04:13:49.436518 2025-10-08 04:13:49.436518
|
54 日志删除 3 1 t system:operation_log:delete \N \N \N \N \N f t f 日志删除 null f 13 初始化数据 2025-11-08 01:37:41.115197 2025-11-08 01:37:41.115197
|
||||||
55 导入用户 3 6 t system:user:import \N \N \N \N \N f t f 导入用户 null f 13 初始化数据 2025-10-08 04:13:49.436519 2025-10-08 04:13:49.436519
|
55 日志导出 3 2 t system:operation_log:export \N \N \N \N \N f t f 日志导出 null f 13 初始化数据 2025-11-08 01:37:41.115197 2025-11-08 01:37:41.115198
|
||||||
56 日志删除 3 1 t system:operation_log:delete \N \N \N \N \N f t f 日志删除 null f 14 初始化数据 2025-10-08 04:13:49.436519 2025-10-08 04:13:49.43652
|
56 公告创建 3 1 t system:notice:create \N \N \N \N \N f t f 公告创建 null f 14 初始化数据 2025-11-08 01:37:41.115198 2025-11-08 01:37:41.115198
|
||||||
57 日志导出 3 2 t system:operation_log:export \N \N \N \N \N f t f 日志导出 null f 14 初始化数据 2025-10-08 04:13:49.43652 2025-10-08 04:13:49.43652
|
57 公告修改 3 2 t system:notice:update \N \N \N \N \N f t f 修改用户 null f 14 初始化数据 2025-11-08 01:37:41.115199 2025-11-08 01:37:41.115199
|
||||||
58 公告创建 3 1 t system:notice:create \N \N \N \N \N f t f 公告创建 null f 15 初始化数据 2025-10-08 04:13:49.436521 2025-10-08 04:13:49.436521
|
58 公告删除 3 3 t system:notice:delete \N \N \N \N \N f t f 公告删除 null f 14 初始化数据 2025-11-08 01:37:41.115199 2025-11-08 01:37:41.1152
|
||||||
59 公告修改 3 2 t system:notice:update \N \N \N \N \N f t f 修改用户 null f 15 初始化数据 2025-10-08 04:13:49.436522 2025-10-08 04:13:49.436522
|
59 公告导出 3 4 t system:notice:export \N \N \N \N \N f t f 公告导出 null f 14 初始化数据 2025-11-08 01:37:41.1152 2025-11-08 01:37:41.1152
|
||||||
60 公告删除 3 3 t system:notice:delete \N \N \N \N \N f t f 公告删除 null f 15 初始化数据 2025-10-08 04:13:49.436522 2025-10-08 04:13:49.436523
|
60 公告批量修改状态 3 5 t system:notice:patch \N \N \N \N \N f t f 公告批量修改状态 null f 14 初始化数据 2025-11-08 01:37:41.115201 2025-11-08 01:37:41.115201
|
||||||
61 公告导出 3 4 t system:notice:export \N \N \N \N \N f t f 公告导出 null f 15 初始化数据 2025-10-08 04:13:49.436523 2025-10-08 04:13:49.436523
|
61 创建参数 3 1 t system:param:create \N \N \N \N \N f t f 创建参数 null f 15 初始化数据 2025-11-08 01:37:41.115202 2025-11-08 01:37:41.115202
|
||||||
62 公告批量修改状态 3 5 t system:notice:patch \N \N \N \N \N f t f 公告批量修改状态 null f 15 初始化数据 2025-10-08 04:13:49.436524 2025-10-08 04:13:49.436524
|
62 修改参数 3 2 t system:param:update \N \N \N \N \N f t f 修改参数 null f 15 初始化数据 2025-11-08 01:37:41.115202 2025-11-08 01:37:41.115203
|
||||||
63 创建参数 3 1 t system:param:create \N \N \N \N \N f t f 创建参数 null f 16 初始化数据 2025-10-08 04:13:49.436525 2025-10-08 04:13:49.436525
|
63 删除参数 3 3 t system:param:delete \N \N \N \N \N f t f 删除参数 null f 15 初始化数据 2025-11-08 01:37:41.115203 2025-11-08 01:37:41.115203
|
||||||
64 修改参数 3 2 t system:param:update \N \N \N \N \N f t f 修改参数 null f 16 初始化数据 2025-10-08 04:13:49.436525 2025-10-08 04:13:49.436526
|
64 导出参数 3 4 t system:param:export \N \N \N \N \N f t f 导出参数 null f 15 初始化数据 2025-11-08 01:37:41.115204 2025-11-08 01:37:41.115204
|
||||||
65 删除参数 3 3 t system:param:delete \N \N \N \N \N f t f 删除参数 null f 16 初始化数据 2025-10-08 04:13:49.436526 2025-10-08 04:13:49.436526
|
65 参数上传 3 5 t system:param:upload \N \N \N \N \N f t f 参数上传 null f 15 初始化数据 2025-11-08 01:37:41.115204 2025-11-08 01:37:41.115205
|
||||||
66 导出参数 3 4 t system:param:export \N \N \N \N \N f t f 导出参数 null f 16 初始化数据 2025-10-08 04:13:49.436527 2025-10-08 04:13:49.436527
|
66 创建字典类型 3 1 t system:dict_type:create \N \N \N \N \N f t f 创建字典类型 null f 16 初始化数据 2025-11-08 01:37:41.115205 2025-11-08 01:37:41.115205
|
||||||
67 参数上传 3 5 t system:param:upload \N \N \N \N \N f t f 参数上传 null f 16 初始化数据 2025-10-08 04:13:49.436527 2025-10-08 04:13:49.436528
|
67 修改字典类型 3 2 t system:dict_type:update \N \N \N \N \N f t f 修改字典类型 null f 16 初始化数据 2025-11-08 01:37:41.115206 2025-11-08 01:37:41.115206
|
||||||
68 创建字典类型 3 1 t system:dict_type:create \N \N \N \N \N f t f 创建字典类型 null f 17 初始化数据 2025-10-08 04:13:49.436528 2025-10-08 04:13:49.436529
|
68 删除字典类型 3 3 t system:dict_type:delete \N \N \N \N \N f t f 删除字典类型 null f 16 初始化数据 2025-11-08 01:37:41.115206 2025-11-08 01:37:41.115207
|
||||||
69 修改字典类型 3 2 t system:dict_type:update \N \N \N \N \N f t f 修改字典类型 null f 17 初始化数据 2025-10-08 04:13:49.436529 2025-10-08 04:13:49.436529
|
69 导出字典类型 3 4 t system:dict_type:export \N \N \N \N \N f t f 导出字典类型 null f 16 初始化数据 2025-11-08 01:37:41.115207 2025-11-08 01:37:41.115207
|
||||||
70 删除字典类型 3 3 t system:dict_type:delete \N \N \N \N \N f t f 删除字典类型 null f 17 初始化数据 2025-10-08 04:13:49.43653 2025-10-08 04:13:49.43653
|
70 批量修改字典状态 3 5 t system:dict_type:patch \N \N \N \N \N f t f 导出字典类型 null f 16 初始化数据 2025-11-08 01:37:41.115208 2025-11-08 01:37:41.115208
|
||||||
71 导出字典类型 3 4 t system:dict_type:export \N \N \N \N \N f t f 导出字典类型 null f 17 初始化数据 2025-10-08 04:13:49.43653 2025-10-08 04:13:49.436531
|
71 字典数据查询 3 6 t system:dict_data:query \N \N \N \N \N f t f 字典数据查询 null f 16 初始化数据 2025-11-08 01:37:41.115208 2025-11-08 01:37:41.115209
|
||||||
72 批量修改字典状态 3 5 t system:dict_type:patch \N \N \N \N \N f t f 导出字典类型 null f 17 初始化数据 2025-10-08 04:13:49.436531 2025-10-08 04:13:49.436532
|
72 创建字典数据 3 7 t system:dict_data:create \N \N \N \N \N f t f 创建字典数据 null f 16 初始化数据 2025-11-08 01:37:41.115209 2025-11-08 01:37:41.115209
|
||||||
73 字典数据查询 3 6 t system:dict_data:query \N \N \N \N \N f t f 字典数据查询 null f 17 初始化数据 2025-10-08 04:13:49.436532 2025-10-08 04:13:49.436532
|
73 修改字典数据 3 8 t system:dict_data:update \N \N \N \N \N f t f 修改字典数据 null f 16 初始化数据 2025-11-08 01:37:41.11521 2025-11-08 01:37:41.11521
|
||||||
74 创建字典数据 3 7 t system:dict_data:create \N \N \N \N \N f t f 创建字典数据 null f 17 初始化数据 2025-10-08 04:13:49.436533 2025-10-08 04:13:49.436533
|
74 删除字典数据 3 9 t system:dict_data:delete \N \N \N \N \N f t f 删除字典数据 null f 16 初始化数据 2025-11-08 01:37:41.115211 2025-11-08 01:37:41.115211
|
||||||
75 修改字典数据 3 8 t system:dict_data:update \N \N \N \N \N f t f 修改字典数据 null f 17 初始化数据 2025-10-08 04:13:49.436533 2025-10-08 04:13:49.436534
|
75 导出字典数据 3 10 t system:dict_data:export \N \N \N \N \N f t f 导出字典数据 null f 16 初始化数据 2025-11-08 01:37:41.115211 2025-11-08 01:37:41.115212
|
||||||
76 删除字典数据 3 9 t system:dict_data:delete \N \N \N \N \N f t f 删除字典数据 null f 17 初始化数据 2025-10-08 04:13:49.436534 2025-10-08 04:13:49.436534
|
76 批量修改字典数据状态 3 11 t system:dict_data:patch \N \N \N \N \N f t f 批量修改字典数据状态 null f 16 初始化数据 2025-11-08 01:37:41.115212 2025-11-08 01:37:41.115212
|
||||||
77 导出字典数据 3 10 t system:dict_data:export \N \N \N \N \N f t f 导出字典数据 null f 17 初始化数据 2025-10-08 04:13:49.436535 2025-10-08 04:13:49.436535
|
77 创建应用 3 1 t app:myapp:create \N \N \N \N \N f t f 创建应用 null f 17 初始化数据 2025-11-08 01:37:41.115213 2025-11-08 01:37:41.115213
|
||||||
78 批量修改字典数据状态 3 11 t system:dict_data:patch \N \N \N \N \N f t f 批量修改字典数据状态 null f 17 初始化数据 2025-10-08 04:13:49.436536 2025-10-08 04:13:49.436536
|
78 修改应用 3 2 t app:myapp:update \N \N \N \N \N f t f 修改应用 null f 17 初始化数据 2025-11-08 01:37:41.115213 2025-11-08 01:37:41.115214
|
||||||
79 创建应用 3 1 t app:myapp:create \N \N \N \N \N f t f 创建应用 null f 18 初始化数据 2025-10-08 04:13:49.436536 2025-10-08 04:13:49.436537
|
79 删除应用 3 3 t app:myapp:delete \N \N \N \N \N f t f 删除应用 null f 17 初始化数据 2025-11-08 01:37:41.115214 2025-11-08 01:37:41.115214
|
||||||
80 修改应用 3 2 t app:myapp:update \N \N \N \N \N f t f 修改应用 null f 18 初始化数据 2025-10-08 04:13:49.436537 2025-10-08 04:13:49.436537
|
80 批量修改应用状态 3 4 t app:myapp:patch \N \N \N \N \N f t f 批量修改应用状态 null f 17 初始化数据 2025-11-08 01:37:41.115215 2025-11-08 01:37:41.115215
|
||||||
81 删除应用 3 3 t app:myapp:delete \N \N \N \N \N f t f 删除应用 null f 18 初始化数据 2025-10-08 04:13:49.436538 2025-10-08 04:13:49.436538
|
81 创建任务 3 1 t app:job:create \N \N \N \N \N f t f 创建任务 null f 18 初始化数据 2025-11-08 01:37:41.115215 2025-11-08 01:37:41.115216
|
||||||
82 批量修改应用状态 3 4 t app:myapp:patch \N \N \N \N \N f t f 批量修改应用状态 null f 18 初始化数据 2025-10-08 04:13:49.436538 2025-10-08 04:13:49.436539
|
82 修改和操作任务 3 2 t app:job:update \N \N \N \N \N f t f 修改和操作任务 null f 18 初始化数据 2025-11-08 01:37:41.115216 2025-11-08 01:37:41.115216
|
||||||
83 创建任务 3 1 t app:job:create \N \N \N \N \N f t f 创建任务 null f 19 初始化数据 2025-10-08 04:13:49.436539 2025-10-08 04:13:49.43654
|
83 删除和清除任务 3 3 t app:job:delete \N \N \N \N \N f t f 删除和清除任务 null f 18 初始化数据 2025-11-08 01:37:41.115217 2025-11-08 01:37:41.115217
|
||||||
84 修改和操作任务 3 2 t app:job:update \N \N \N \N \N f t f 修改和操作任务 null f 19 初始化数据 2025-10-08 04:13:49.43654 2025-10-08 04:13:49.43654
|
84 导出定时任务 3 4 t app:job:export \N \N \N \N \N f t f 导出定时任务 null f 18 初始化数据 2025-11-08 01:37:41.115217 2025-11-08 01:37:41.115218
|
||||||
85 删除和清除任务 3 3 t app:job:delete \N \N \N \N \N f t f 删除和清除任务 null f 19 初始化数据 2025-10-08 04:13:49.436541 2025-10-08 04:13:49.436541
|
85 智能对话 3 1 t app:ai:chat \N \N \N \N \N f t f 智能对话 null f 19 智能对话 2025-11-08 01:37:41.115218 2025-11-08 01:37:41.115218
|
||||||
86 导出定时任务 3 4 t app:job:export \N \N \N \N \N f t f 导出定时任务 null f 19 初始化数据 2025-10-08 04:13:49.436541 2025-10-08 04:13:49.436542
|
86 在线用户强制下线 3 1 t monitor:online:delete \N \N \N \N \N f f f 在线用户强制下线 null f 21 初始化数据 2025-11-08 01:37:41.115219 2025-11-08 01:37:41.115219
|
||||||
87 智能对话 3 1 t app:ai:chat \N \N \N \N \N f t f 智能对话 null f 20 智能对话 2025-10-08 04:13:49.436542 2025-10-08 04:13:49.436542
|
87 清除缓存 3 1 t monitor:cache:delete \N \N \N \N \N f f f 清除缓存 null f 23 初始化数据 2025-11-08 01:37:41.115219 2025-11-08 01:37:41.11522
|
||||||
88 在线用户强制下线 3 1 t monitor:online:delete \N \N \N \N \N f f f 在线用户强制下线 null f 22 初始化数据 2025-10-08 04:13:49.436543 2025-10-08 04:13:49.436543
|
88 文件上传 3 1 t monitor:resource:upload \N \N \N \N \N f t f 文件上传 null f 24 初始化数据 2025-11-08 01:37:41.11522 2025-11-08 01:37:41.11522
|
||||||
89 清除缓存 3 1 t monitor:cache:delete \N \N \N \N \N f f f 清除缓存 null f 24 初始化数据 2025-10-08 04:13:49.436543 2025-10-08 04:13:49.436544
|
89 文件下载 3 2 t monitor:resource:download \N \N \N \N \N f t f 文件下载 null f 24 初始化数据 2025-11-08 01:37:41.115221 2025-11-08 01:37:41.115221
|
||||||
90 文件上传 3 1 t monitor:resource:upload \N \N \N \N \N f t f 文件上传 null f 25 初始化数据 2025-10-08 04:13:49.436544 2025-10-08 04:13:49.436545
|
90 文件删除 3 3 t monitor:resource:delete \N \N \N \N \N f t f 文件删除 null f 24 初始化数据 2025-11-08 01:37:41.115222 2025-11-08 01:37:41.115222
|
||||||
91 文件下载 3 2 t monitor:resource:download \N \N \N \N \N f t f 文件下载 null f 25 初始化数据 2025-10-08 04:13:49.436545 2025-10-08 04:13:49.436545
|
91 文件移动 3 4 t monitor:resource:move \N \N \N \N \N f t f 文件移动 null f 24 初始化数据 2025-11-08 01:37:41.115222 2025-11-08 01:37:41.115223
|
||||||
92 文件删除 3 3 t monitor:resource:delete \N \N \N \N \N f t f 文件删除 null f 25 初始化数据 2025-10-08 04:13:49.436546 2025-10-08 04:13:49.436546
|
92 文件复制 3 5 t rmonitor:resource:copy \N \N \N \N \N f t f 文件复制 null f 24 初始化数据 2025-11-08 01:37:41.115223 2025-11-08 01:37:41.115223
|
||||||
93 文件移动 3 4 t monitor:resource:move \N \N \N \N \N f t f 文件移动 null f 25 初始化数据 2025-10-08 04:13:49.436546 2025-10-08 04:13:49.436547
|
93 文件重命名 3 6 t monitor:resource:rename \N \N \N \N \N f t f 文件重命名 null f 24 初始化数据 2025-11-08 01:37:41.115224 2025-11-08 01:37:41.115224
|
||||||
94 文件复制 3 5 t rmonitor:resource:copy \N \N \N \N \N f t f 文件复制 null f 25 初始化数据 2025-10-08 04:13:49.436547 2025-10-08 04:13:49.436547
|
94 创建目录 3 7 t monitor:resource:create_dir \N \N \N \N \N f t f 创建目录 null f 24 初始化数据 2025-11-08 01:37:41.115224 2025-11-08 01:37:41.115225
|
||||||
95 文件重命名 3 6 t monitor:resource:rename \N \N \N \N \N f t f 文件重命名 null f 25 初始化数据 2025-10-08 04:13:49.436548 2025-10-08 04:13:49.436548
|
95 导出文件列表 3 9 t rmonitor:resource:export \N \N \N \N \N f t f 导出文件列表 null f 24 初始化数据 2025-11-08 01:37:41.115225 2025-11-08 01:37:41.115225
|
||||||
96 创建目录 3 7 t monitor:resource:create_dir \N \N \N \N \N f t f 创建目录 null f 25 初始化数据 2025-10-08 04:13:49.436549 2025-10-08 04:13:49.436549
|
96 查询代码生成业务表列表 3 1 t generator:gencode:query \N \N \N \N \N f t f 查询代码生成业务表列表 null f 25 查询代码生成业务表列表 2025-11-08 01:37:41.115226 2025-11-08 01:37:41.115226
|
||||||
97 导出文件列表 3 9 t rmonitor:resource:export \N \N \N \N \N f t f 导出文件列表 null f 25 初始化数据 2025-10-08 04:13:49.436549 2025-10-08 04:13:49.43655
|
97 创建表结构 3 2 t generator:gencode:create \N \N \N \N \N f t f 创建表结构 null f 25 创建表结构 2025-11-08 01:37:41.115226 2025-11-08 01:37:41.115227
|
||||||
98 查询代码生成业务表列表 3 1 t generator:gencode:query \N \N \N \N \N f t f 查询代码生成业务表列表 null f 26 查询代码生成业务表列表 2025-10-08 04:13:49.43655 2025-10-08 04:13:49.43655
|
98 编辑业务表信息 3 3 t generator:gencode:update \N \N \N \N \N f t f 编辑业务表信息 null f 25 编辑业务表信息 2025-11-08 01:37:41.115227 2025-11-08 01:37:41.115227
|
||||||
99 创建表结构 3 2 t generator:gencode:create \N \N \N \N \N f t f 创建表结构 null f 26 创建表结构 2025-10-08 04:13:49.436551 2025-10-08 04:13:49.436551
|
99 删除业务表信息 3 4 t generator:gencode:delete \N \N \N \N \N f t f 删除业务表信息 null f 25 删除业务表信息 2025-11-08 01:37:41.115228 2025-11-08 01:37:41.115228
|
||||||
100 编辑业务表信息 3 3 t generator:gencode:update \N \N \N \N \N f t f 编辑业务表信息 null f 26 编辑业务表信息 2025-10-08 04:13:49.436551 2025-10-08 04:13:49.436552
|
100 导入表结构 3 5 t generator:gencode:import \N \N \N \N \N f t f 导入表结构 null f 25 导入表结构 2025-11-08 01:37:41.115228 2025-11-08 01:37:41.115229
|
||||||
101 删除业务表信息 3 4 t generator:gencode:delete \N \N \N \N \N f t f 删除业务表信息 null f 26 删除业务表信息 2025-10-08 04:13:49.436552 2025-10-08 04:13:49.436552
|
101 批量生成代码 3 6 t generator:gencode:operate \N \N \N \N \N f t f 批量生成代码 null f 25 批量生成代码 2025-11-08 01:37:41.115229 2025-11-08 01:37:41.115229
|
||||||
102 导入表结构 3 5 t generator:gencode:import \N \N \N \N \N f t f 导入表结构 null f 26 导入表结构 2025-10-08 04:13:49.436553 2025-10-08 04:13:49.436553
|
102 生成代码到指定路径 3 7 t generator:gencode:code \N \N \N \N \N f t f 生成代码到指定路径 null f 25 生成代码到指定路径 2025-11-08 01:37:41.11523 2025-11-08 01:37:41.11523
|
||||||
103 批量生成代码 3 6 t generator:gencode:operate \N \N \N \N \N f t f 批量生成代码 null f 26 批量生成代码 2025-10-08 04:13:49.436555 2025-10-08 04:13:49.436556
|
103 查询数据库表列表 3 8 t generator:dblist:query \N \N \N \N \N f t f 查询数据库表列表 null f 25 查询数据库表列表 2025-11-08 01:37:41.11523 2025-11-08 01:37:41.115231
|
||||||
104 生成代码到指定路径 3 7 t generator:gencode:code \N \N \N \N \N f t f 生成代码到指定路径 null f 26 生成代码到指定路径 2025-10-08 04:13:49.436556 2025-10-08 04:13:49.436556
|
104 同步数据库 3 9 t generator:db:sync \N \N \N \N \N f t f 同步数据库 null f 25 同步数据库 2025-11-08 01:37:41.115231 2025-11-08 01:37:41.115231
|
||||||
105 查询数据库表列表 3 8 t generator:dblist:query \N \N \N \N \N f t f 查询数据库表列表 null f 26 查询数据库表列表 2025-10-08 04:13:49.436557 2025-10-08 04:13:49.436557
|
105 创建示例 3 1 t generator:demo:create \N \N \N \N \N f t f 创建示例 null f 26 初始化数据 2025-11-08 01:37:41.115232 2025-11-08 01:37:41.115232
|
||||||
106 同步数据库 3 9 t generator:db:sync \N \N \N \N \N f t f 同步数据库 null f 26 同步数据库 2025-10-08 04:13:49.436557 2025-10-08 04:13:49.436558
|
106 更新示例 3 2 t generator:demo:update \N \N \N \N \N f t f 更新示例 null f 26 初始化数据 2025-11-08 01:37:41.115232 2025-11-08 01:37:41.115233
|
||||||
107 创建示例 3 1 t generator:demo:create \N \N \N \N \N f t f 创建示例 null f 28 初始化数据 2025-10-08 04:13:49.436558 2025-10-08 04:13:49.436559
|
107 删除示例 3 3 t generator:demo:delete \N \N \N \N \N f t f 删除示例 null f 26 初始化数据 2025-11-08 01:37:41.115233 2025-11-08 01:37:41.115234
|
||||||
108 更新示例 3 2 t generator:demo:update \N \N \N \N \N f t f 更新示例 null f 28 初始化数据 2025-10-08 04:13:49.436559 2025-10-08 04:13:49.436559
|
108 批量修改示例状态 3 4 t generator:demo:patch \N \N \N \N \N f t f 批量修改示例状态 null f 26 初始化数据 2025-11-08 01:37:41.115234 2025-11-08 01:37:41.115234
|
||||||
109 删除示例 3 3 t generator:demo:delete \N \N \N \N \N f t f 删除示例 null f 28 初始化数据 2025-10-08 04:13:49.43656 2025-10-08 04:13:49.43656
|
109 导出示例 3 5 t generator:demo:export \N \N \N \N \N f t f 导出示例 null f 26 初始化数据 2025-11-08 01:37:41.115235 2025-11-08 01:37:41.115235
|
||||||
110 批量修改示例状态 3 4 t generator:demo:patch \N \N \N \N \N f t f 批量修改示例状态 null f 28 初始化数据 2025-10-08 04:13:49.43656 2025-10-08 04:13:49.436561
|
110 导入示例 3 6 t generator:demo:import \N \N \N \N \N f t f 导入示例 null f 26 初始化数据 2025-11-08 01:37:41.115235 2025-11-08 01:37:41.115236
|
||||||
111 导出示例 3 5 t generator:demo:export \N \N \N \N \N f t f 导出示例 null f 28 初始化数据 2025-10-08 04:13:49.436561 2025-10-08 04:13:49.436561
|
111 下载导入示例模版 3 7 t generator:demo:download \N \N \N \N \N f t f 下载导入示例模版 null f 26 初始化数据 2025-11-08 01:37:41.115236 2025-11-08 01:37:41.115236
|
||||||
112 导入示例 3 6 t generator:demo:import \N \N \N \N \N f t f 导入示例 null f 28 初始化数据 2025-10-08 04:13:49.436562 2025-10-08 04:13:49.436562
|
|
||||||
113 下载导入示例模版 3 7 t generator:demo:download \N \N \N \N \N f t f 下载导入示例模版 null f 28 初始化数据 2025-10-08 04:13:49.436563 2025-10-08 04:13:49.436563
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2976,8 +2996,6 @@ COPY public.system_menu (id, name, type, "order", status, permission, icon, rout
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_notice (notice_title, notice_type, notice_content, status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_notice (notice_title, notice_type, notice_content, status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
系统通知 1 维护通知:2025-10-01 FastapiAdmin系统凌晨维护 t 1 1 通知 2025-10-08 04:13:49.475194 2025-10-08 04:13:49.475196
|
|
||||||
系统公告 2 温馨提醒:2025-10-01 FastapiAdmin新版本发布啦 t 1 2 公告 2025-10-08 04:13:49.475197 2025-10-08 04:13:49.475197
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -2986,22 +3004,22 @@ COPY public.system_notice (notice_title, notice_type, notice_content, status, cr
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_param (config_name, config_key, config_value, config_type, status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_param (config_name, config_key, config_value, config_type, status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
网站名称 sys_web_title FastApiAdmin t t 1 1 网站名称 2025-10-08 04:13:49.454738 2025-10-08 04:13:49.454739
|
网站名称 sys_web_title FastApiAdmin t t 1 1 网站名称 2025-11-08 01:37:41.142128 2025-11-08 01:37:41.14213
|
||||||
网站描述 sys_web_description FastApiAdmin 是完全开源的权限管理系统 t t 1 2 网站描述 2025-10-08 04:13:49.45474 2025-10-08 04:13:49.454741
|
网站描述 sys_web_description FastApiAdmin 是完全开源的权限管理系统 t t 1 2 网站描述 2025-11-08 01:37:41.14213 2025-11-08 01:37:41.142131
|
||||||
网页图标 sys_web_favicon https://service.fastapiadmin.com/api/v1/static/image/favicon.png t t 1 3 网页图标 2025-10-08 04:13:49.454741 2025-10-08 04:13:49.454741
|
网页图标 sys_web_favicon https://service.fastapiadmin.com/api/v1/static/image/favicon.png t t 1 3 网页图标 2025-11-08 01:37:41.142131 2025-11-08 01:37:41.142132
|
||||||
网站Logo sys_web_logo https://service.fastapiadmin.com/api/v1/static/image/logo.png t t 1 4 网站Logo 2025-10-08 04:13:49.454742 2025-10-08 04:13:49.454742
|
网站Logo sys_web_logo https://service.fastapiadmin.com/api/v1/static/image/logo.png t t 1 4 网站Logo 2025-11-08 01:37:41.142132 2025-11-08 01:37:41.142132
|
||||||
登录背景 sys_login_background https://service.fastapiadmin.com/api/v1/static/image/background.svg t t 1 5 登录背景 2025-10-08 04:13:49.454743 2025-10-08 04:13:49.454743
|
登录背景 sys_login_background https://service.fastapiadmin.com/api/v1/static/image/background.svg t t 1 5 登录背景 2025-11-08 01:37:41.142133 2025-11-08 01:37:41.142133
|
||||||
版权信息 sys_web_copyright Copyright © 2025-2026 service.fastapiadmin.com 版权所有 t t 1 6 版权信息 2025-10-08 04:13:49.454743 2025-10-08 04:13:49.454744
|
版权信息 sys_web_copyright Copyright © 2025-2026 service.fastapiadmin.com 版权所有 t t 1 6 版权信息 2025-11-08 01:37:41.142134 2025-11-08 01:37:41.142134
|
||||||
备案信息 sys_keep_record 陕ICP备2025069493号-1 t t 1 7 备案信息 2025-10-08 04:13:49.454744 2025-10-08 04:13:49.454744
|
备案信息 sys_keep_record 陕ICP备2025069493号-1 t t 1 7 备案信息 2025-11-08 01:37:41.142135 2025-11-08 01:37:41.142135
|
||||||
帮助文档 sys_help_doc https://service.fastapiadmin.com t t 1 8 帮助文档 2025-10-08 04:13:49.454745 2025-10-08 04:13:49.454745
|
帮助文档 sys_help_doc https://service.fastapiadmin.com t t 1 8 帮助文档 2025-11-08 01:37:41.142135 2025-11-08 01:37:41.142136
|
||||||
隐私政策 sys_web_privacy https://github.com/1014TaoTao/FastapiAdmin/blob/master/LICENSE t t 1 9 隐私政策 2025-10-08 04:13:49.454746 2025-10-08 04:13:49.454746
|
隐私政策 sys_web_privacy https://github.com/1014TaoTao/FastapiAdmin/blob/master/LICENSE t t 1 9 隐私政策 2025-11-08 01:37:41.142136 2025-11-08 01:37:41.142136
|
||||||
用户协议 sys_web_clause https://github.com/1014TaoTao/FastapiAdmin/blob/master/LICENSE t t 1 10 用户协议 2025-10-08 04:13:49.454746 2025-10-08 04:13:49.454747
|
用户协议 sys_web_clause https://github.com/1014TaoTao/FastapiAdmin/blob/master/LICENSE t t 1 10 用户协议 2025-11-08 01:37:41.142137 2025-11-08 01:37:41.142137
|
||||||
源码代码 sys_git_code https://github.com/1014TaoTao/FastapiAdmin.git t t 1 11 源码代码 2025-10-08 04:13:49.454747 2025-10-08 04:13:49.454747
|
源码代码 sys_git_code https://github.com/1014TaoTao/FastapiAdmin.git t t 1 11 源码代码 2025-11-08 01:37:41.142138 2025-11-08 01:37:41.142138
|
||||||
项目版本 sys_web_version 2.0.0 t t 1 12 项目版本 2025-10-08 04:13:49.454748 2025-10-08 04:13:49.454748
|
项目版本 sys_web_version 2.0.0 t t 1 12 项目版本 2025-11-08 01:37:41.142139 2025-11-08 01:37:41.142139
|
||||||
演示模式启用 demo_enable false t t 1 13 是否开启演示模式 2025-10-08 04:13:49.454749 2025-10-08 04:13:49.454749
|
演示模式启用 demo_enable false t t 1 13 是否开启演示模式 2025-11-08 01:37:41.142139 2025-11-08 01:37:41.14214
|
||||||
演示访问IP白名单 ip_white_list ["127.0.0.1"] t t 1 14 演示模式IP白名单列表 2025-10-08 04:13:49.45475 2025-10-08 04:13:49.45475
|
演示访问IP白名单 ip_white_list ["127.0.0.1"] t t 1 14 演示模式IP白名单列表 2025-11-08 01:37:41.14214 2025-11-08 01:37:41.142141
|
||||||
接口白名单 white_api_list_path ["/api/v1/system/auth/login", "/api/v1/system/auth/token/refresh", "/api/v1/system/auth/captcha/get", "/api/v1/system/auth/logout", "/api/v1/system/config/info", "/api/v1/system/user/current/info", "/api/v1/system/notice/available"] t t 1 15 接口白名单 2025-10-08 04:13:49.454751 2025-10-08 04:13:49.454751
|
接口白名单 white_api_list_path ["/api/v1/system/auth/login", "/api/v1/system/auth/token/refresh", "/api/v1/system/auth/captcha/get", "/api/v1/system/auth/logout", "/api/v1/system/config/info", "/api/v1/system/user/current/info", "/api/v1/system/notice/available"] t t 1 15 接口白名单 2025-11-08 01:37:41.142141 2025-11-08 01:37:41.142141
|
||||||
访问IP黑名单 ip_black_list [] t t 1 16 访问IP黑名单 2025-10-08 04:13:49.454751 2025-10-08 04:13:49.454752
|
访问IP黑名单 ip_black_list [] t t 1 16 访问IP黑名单 2025-11-08 01:37:41.142142 2025-11-08 01:37:41.142142
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3010,7 +3028,6 @@ COPY public.system_param (config_name, config_key, config_value, config_type, st
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_position (name, "order", status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_position (name, "order", status, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
董事长岗 1 t 1 1 董事长岗位 2025-10-08 04:13:49.452311 2025-10-08 04:13:49.452313
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3019,7 +3036,7 @@ COPY public.system_position (name, "order", status, creator_id, id, description,
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_role (name, code, "order", status, data_scope, creator_id, id, description, created_at, updated_at) FROM stdin;
|
COPY public.system_role (name, code, "order", status, data_scope, creator_id, id, description, created_at, updated_at) FROM stdin;
|
||||||
管理员角色 ADMIN 1 t 4 1 1 管理员 2025-10-08 04:13:49.450055 2025-10-08 04:13:49.450057
|
管理员角色 ADMIN 1 t 4 1 1 初始化角色 2025-11-08 01:37:41.134932 2025-11-08 01:37:41.134933
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3028,7 +3045,6 @@ COPY public.system_role (name, code, "order", status, data_scope, creator_id, id
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_role_depts (role_id, dept_id) FROM stdin;
|
COPY public.system_role_depts (role_id, dept_id) FROM stdin;
|
||||||
1 1
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3037,119 +3053,6 @@ COPY public.system_role_depts (role_id, dept_id) FROM stdin;
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_role_menus (role_id, menu_id) FROM stdin;
|
COPY public.system_role_menus (role_id, menu_id) FROM stdin;
|
||||||
1 1
|
|
||||||
1 2
|
|
||||||
1 3
|
|
||||||
1 4
|
|
||||||
1 5
|
|
||||||
1 6
|
|
||||||
1 7
|
|
||||||
1 8
|
|
||||||
1 9
|
|
||||||
1 10
|
|
||||||
1 11
|
|
||||||
1 12
|
|
||||||
1 13
|
|
||||||
1 14
|
|
||||||
1 15
|
|
||||||
1 16
|
|
||||||
1 17
|
|
||||||
1 18
|
|
||||||
1 19
|
|
||||||
1 20
|
|
||||||
1 21
|
|
||||||
1 22
|
|
||||||
1 23
|
|
||||||
1 24
|
|
||||||
1 25
|
|
||||||
1 26
|
|
||||||
1 27
|
|
||||||
1 28
|
|
||||||
1 29
|
|
||||||
1 30
|
|
||||||
1 31
|
|
||||||
1 32
|
|
||||||
1 33
|
|
||||||
1 34
|
|
||||||
1 35
|
|
||||||
1 36
|
|
||||||
1 37
|
|
||||||
1 38
|
|
||||||
1 39
|
|
||||||
1 40
|
|
||||||
1 41
|
|
||||||
1 42
|
|
||||||
1 43
|
|
||||||
1 44
|
|
||||||
1 45
|
|
||||||
1 46
|
|
||||||
1 47
|
|
||||||
1 48
|
|
||||||
1 49
|
|
||||||
1 50
|
|
||||||
1 51
|
|
||||||
1 52
|
|
||||||
1 53
|
|
||||||
1 54
|
|
||||||
1 55
|
|
||||||
1 56
|
|
||||||
1 57
|
|
||||||
1 58
|
|
||||||
1 59
|
|
||||||
1 60
|
|
||||||
1 61
|
|
||||||
1 62
|
|
||||||
1 63
|
|
||||||
1 64
|
|
||||||
1 65
|
|
||||||
1 66
|
|
||||||
1 67
|
|
||||||
1 68
|
|
||||||
1 69
|
|
||||||
1 70
|
|
||||||
1 71
|
|
||||||
1 72
|
|
||||||
1 73
|
|
||||||
1 74
|
|
||||||
1 75
|
|
||||||
1 76
|
|
||||||
1 77
|
|
||||||
1 78
|
|
||||||
1 79
|
|
||||||
1 80
|
|
||||||
1 81
|
|
||||||
1 82
|
|
||||||
1 83
|
|
||||||
1 84
|
|
||||||
1 85
|
|
||||||
1 86
|
|
||||||
1 87
|
|
||||||
1 88
|
|
||||||
1 89
|
|
||||||
1 90
|
|
||||||
1 91
|
|
||||||
1 92
|
|
||||||
1 93
|
|
||||||
1 94
|
|
||||||
1 95
|
|
||||||
1 96
|
|
||||||
1 97
|
|
||||||
1 98
|
|
||||||
1 99
|
|
||||||
1 100
|
|
||||||
1 101
|
|
||||||
1 102
|
|
||||||
1 103
|
|
||||||
1 104
|
|
||||||
1 105
|
|
||||||
1 106
|
|
||||||
1 107
|
|
||||||
1 108
|
|
||||||
1 109
|
|
||||||
1 110
|
|
||||||
1 111
|
|
||||||
1 112
|
|
||||||
1 113
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3158,8 +3061,6 @@ COPY public.system_role_menus (role_id, menu_id) FROM stdin;
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_user_positions (user_id, position_id) FROM stdin;
|
COPY public.system_user_positions (user_id, position_id) FROM stdin;
|
||||||
1 1
|
|
||||||
2 1
|
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3178,8 +3079,8 @@ COPY public.system_user_roles (user_id, role_id) FROM stdin;
|
|||||||
--
|
--
|
||||||
|
|
||||||
COPY public.system_users (id, username, password, name, status, mobile, email, gender, avatar, is_superuser, last_login, dept_id, description, created_at, updated_at, creator_id) FROM stdin;
|
COPY public.system_users (id, username, password, name, status, mobile, email, gender, avatar, is_superuser, last_login, dept_id, description, created_at, updated_at, creator_id) FROM stdin;
|
||||||
1 admin $2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa 管理员 t 15382112222 admin@qq.com 0 https://service.fastapiadmin.com/api/v1/static/image/avatar.png t \N 1 管理员 2025-10-08 04:13:49.443214 2025-10-08 04:13:49.443215 \N
|
1 admin $2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa 超级管理员 t \N \N 0 https://service.fastapiadmin.com/api/v1/static/image/avatar.png t \N 1 初始化管理员 2025-11-08 01:37:41.130346 2025-11-08 01:37:41.130347 \N
|
||||||
2 demo $2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa 演示用户 t 15382112121 demo@qq.com 0 https://service.fastapiadmin.com/api/v1/static/image/avatar.png f \N 1 演示用户 2025-10-08 04:13:49.443216 2025-10-08 04:13:49.443216 1
|
2 demo $2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa 演示用户 t \N \N 1 https://service.fastapiadmin.com/api/v1/static/image/avatar.png f \N 1 初始化演示用户 2025-11-08 01:37:41.130348 2025-11-08 01:37:41.130348 1
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
|
||||||
@@ -3236,7 +3137,7 @@ SELECT pg_catalog.setval('public.gen_table_id_seq', 1, false);
|
|||||||
-- Name: system_dept_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
-- Name: system_dept_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
SELECT pg_catalog.setval('public.system_dept_id_seq', 7, true);
|
SELECT pg_catalog.setval('public.system_dept_id_seq', 4, true);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -3264,14 +3165,14 @@ SELECT pg_catalog.setval('public.system_log_id_seq', 1, false);
|
|||||||
-- Name: system_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
-- Name: system_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
SELECT pg_catalog.setval('public.system_menu_id_seq', 113, true);
|
SELECT pg_catalog.setval('public.system_menu_id_seq', 111, true);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: system_notice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
-- Name: system_notice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
SELECT pg_catalog.setval('public.system_notice_id_seq', 2, true);
|
SELECT pg_catalog.setval('public.system_notice_id_seq', 1, false);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -3285,7 +3186,7 @@ SELECT pg_catalog.setval('public.system_param_id_seq', 16, true);
|
|||||||
-- Name: system_position_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
-- Name: system_position_id_seq; Type: SEQUENCE SET; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
|
|
||||||
SELECT pg_catalog.setval('public.system_position_id_seq', 1, true);
|
SELECT pg_catalog.setval('public.system_position_id_seq', 1, false);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
@@ -3302,6 +3203,14 @@ SELECT pg_catalog.setval('public.system_role_id_seq', 1, true);
|
|||||||
SELECT pg_catalog.setval('public.system_users_id_seq', 2, true);
|
SELECT pg_catalog.setval('public.system_users_id_seq', 2, true);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: alembic_version alembic_version_pkc; Type: CONSTRAINT; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY public.alembic_version
|
||||||
|
ADD CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: app_ai_mcp app_ai_mcp_name_key; Type: CONSTRAINT; Schema: public; Owner: tao
|
-- Name: app_ai_mcp app_ai_mcp_name_key; Type: CONSTRAINT; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -3350,6 +3259,14 @@ ALTER TABLE ONLY public.app_myapp
|
|||||||
ADD CONSTRAINT app_myapp_pkey PRIMARY KEY (id);
|
ADD CONSTRAINT app_myapp_pkey PRIMARY KEY (id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: apscheduler_jobs apscheduler_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY public.apscheduler_jobs
|
||||||
|
ADD CONSTRAINT apscheduler_jobs_pkey PRIMARY KEY (id);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: gen_demo gen_demo_pkey; Type: CONSTRAINT; Schema: public; Owner: tao
|
-- Name: gen_demo gen_demo_pkey; Type: CONSTRAINT; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -3611,6 +3528,13 @@ CREATE INDEX ix_app_job_creator_id ON public.app_job USING btree (creator_id);
|
|||||||
CREATE INDEX ix_app_myapp_creator_id ON public.app_myapp USING btree (creator_id);
|
CREATE INDEX ix_app_myapp_creator_id ON public.app_myapp USING btree (creator_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: ix_apscheduler_jobs_next_run_time; Type: INDEX; Schema: public; Owner: tao
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE INDEX ix_apscheduler_jobs_next_run_time ON public.apscheduler_jobs USING btree (next_run_time);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: ix_gen_demo_creator_id; Type: INDEX; Schema: public; Owner: tao
|
-- Name: ix_gen_demo_creator_id; Type: INDEX; Schema: public; Owner: tao
|
||||||
--
|
--
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-dropdown v-hasPerm="['{{ module_name }}:{{ business_name }}:batch']" trigger="click">
|
<el-dropdown v-hasPerm="['{{ module_name }}:{{ business_name }}:batch']" trigger="click">
|
||||||
<el-button type="default" :disabled="selectIds.length === 0" icon="ArrowDown">更多</el按钮>
|
<el-button type="default" :disabled="selectIds.length === 0" icon="ArrowDown">更多</el-button>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
<el-dropdown-menu>
|
<el-dropdown-menu>
|
||||||
<el-dropdown-item icon="Check" @click="handleMoreClick(true)">批量启用</el-dropdown-item>
|
<el-dropdown-item icon="Check" @click="handleMoreClick(true)">批量启用</el-dropdown-item>
|
||||||
|
|||||||
Reference in New Issue
Block a user