Skip to content

4.x 表介绍

acuity_base库

  • com_appendix:业务附件
  • com_file:文件记录
  • undo_log:事务日志
  • base_dict:字典
  • base_employee:员工
  • base_employee_org_rel:员工的部门
  • base_employee_role_rel:员工的角色
  • base_operation_log:操作日志
  • base_operation_log_ext:操作日志扩展
  • base_org:机构
  • base_org_role_rel:机构的角色
  • base_parameter:参数
  • base_position:岗位
  • base_role:角色
  • base_role_resource_rel:角色的资源
  • extend_interface_log: 接口日志
  • extend_interface_logging: 接口日志记录
  • extend_msg: 消息
  • extend_msg_recipient: 详细接受者
  • extend_msg_template: 消息模板
  • extend_notice: 消息通知

acuity_defautls库

  • com_appendix:业务附件
  • com_file:文件记录
  • def_application:应用
  • def_area:地区
  • def_client:客户端
  • def_datasource_config:数据源配置
  • def_dict:字典
  • def_login_log:登录日志
  • def_parameter:参数
  • def_resource:资源
  • def_resource_api:资源API
  • def_tenant:租户
  • def_tenant_application_record:租户应用授权记录
  • def_tenant_application_rel:租户的应用
  • def_tenant_datasource_config_rel:租户的远程数据源
  • def_tenant_resource_rel:租户的资源
  • def_user:用户
  • def_user_tenant_rel:员工
  • undo_log:事务日志
  • worker_node:雪花ID记录

说明

  1. 2个库都有com_appendix、com_file、undo_log表

    • com_appendix和undo_log必须每个数据库都有,若你想让新建的服务独一一个数据库,也需要保证新建的数据库有这2张表。

    • com_file必须存在于acuity_defautls 和 acuity_base,前者是因为需要记录defautls库的数据,后者是记录每个租户租户的数据。

  2. 2个库都有字典(base_dict、def_dict)、参数(base_parameter、def_parameter)、员工表(base_employee、def_user_tenant_rel)

    • 员工表存在2张表是为了方便查询,因为某些情况下只能查询默认库的员工表,base_employee记录完整的员工信息,def_user_tenant_rel只记录员工、用户、租户之间的关系。
    • 参数和字典表是想要实现:当租户自定义的数据时,显示租户自定义的数据;当租户没有自定义数据时,显示默认的全局数据。所以在base和defaults存放2张一样的表。

表结构预览

  • acuity_defaults

  • acuity_base

欢迎使用天源云Saas快速开发系统