Activity 23张表浅析

-- 一、通用数据表两个 act_ge_bytearray、act_ge_property
    --资源表act_ge_bytearray,存储xml及activity根据xml自动生成的图片
    select * from act_ge_bytearray where name_ like '%成员得分%';
    --属性表,目前还不知道啥作用(待后续完善)
    select * from act_ge_property;

-- 二、流程存储表
    -- 部署数据表,单个流程每部署一次,都会向该表插入一条数据
    select * from act_re_deployment where name_  like '%成员得分%';
    -- 流程定义表,单个流程每部署一次,都会向该表插入一条数据
    select * from act_re_procdef where name_  like '%成员得分%';
  --流程设计模型表,通过流程设计器设计流程后,会更新act_re_model中部分字段(EDITOR_SOURCE_VALUE_ID_和EDITOR_SOURCE_EXTRA_VALUE_ID_)的值同时会向表ct_ge_property插入数据
    select * from act_re_model where name_  like '%成员得分%';

--三、身份数据表(可以独立于流程引擎而存在)
    --用户表
    select * from act_id_user;
    --用户账号信息表
    select * from act_id_info;
    --用户组表
    select * from act_id_group;
    --用户和用户组的关系表
    select * from act_id_membership;

--四运行时数据表
    --流程实例表,包含流程实例数据和执行流(对象)数据
    select * from act_ru_execution where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --流程任务表,运行中的任务都可以在该表中查询到
    select * from act_ru_task where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --流程参数表,包含流程实例参数、执行流参数、任务参数
    select * from act_ru_variable where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --流程与身份关系表,能查询到流程发起人、处理人等信息
    select * from act_ru_identitylink;
    --工作数据表,在流程执行过程中定时或重复执行的工作保存在这张表中
    select * from act_ru_job;
    --事件描述表,猜测是用来保存流程设计时定义的事件数据
    select * from act_ru_event_subscr;

--五、历史数据表(历史数据表实际上保存是那种一经写入就很少会发生变化的数据)
    --历史流程实例表
    select * from act_hi_procinst where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --历史流程明细表,流程执行过程中的参数值
    select * from act_hi_detail where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --历史任务表,所有已执行和正在执行的任务都可以在此表中查询到
    select * from act_hi_taskinst where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --历史行为表,流程执行过程中所有的历史节点和活动节点信息都可以在此表中查到,但是未执行到的节点的信息查询不到
    select * from act_hi_actinst where proc_inst_id_='44be3303bac945d9afd7557fd61e4c93';
    --附件表,保存附件信息,附件路径、上传人、属于哪个任务哪个流程等
    select * from act_hi_attachment
    --评论表,用来保存评论信息
    select * from act_hi_comment;

猜你喜欢

转载自my.oschina.net/u/3555887/blog/1649206
今日推荐