activiti添加业务key 到Activiti的表

/**
     * 添加业务key 到Activiti的表
     */
    @Test
    public void addBusinessKey(){
//        1、获取流程引擎
        ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
//        2、获取RuntimeService
        RuntimeService runtimeService = processEngine.getRuntimeService();
//        3、启动流程的过程中,添加businesskey
//           第一个参数:流程定义的key
//           第二个参数:businessKey,存出差申请单的id,就是1001
        ProcessInstance instance = runtimeService.
                startProcessInstanceByKey("myLeave", "1001");
//        4、输出
        System.out.println("businessKey=="+instance.getBusinessKey());

    }

2023-06-05 22:00:12,191 0     [           main] INFO  activiti.engine.ProcessEngines  - Initializing process engine using configuration 'file:/D:/workspace/20210614/ActivitiDemo/BasicDemo/target/classes/activiti.cfg.xml'

2023-06-05 22:00:12,203 12    [           main] INFO  activiti.engine.ProcessEngines  - initializing process engine for resource file:/D:/workspace/20210614/ActivitiDemo/BasicDemo/target/classes/activiti.cfg.xml

2023-06-05 22:00:13,379 1188  [           main] DEBUG ry.xml.XmlBeanDefinitionReader  - Loaded 2 bean definitions from InputStream resource [resource loaded through InputStream]

2023-06-05 22:00:13,384 1193  [           main] DEBUG ort.DefaultListableBeanFactory  - Creating shared instance of singleton bean 'processEngineConfiguration'

2023-06-05 22:00:14,468 2277  [           main] DEBUG ort.DefaultListableBeanFactory  - Creating shared instance of singleton bean 'dataSource'

2023-06-05 22:00:19,298 7107  [           main] DEBUG ProcessEngineConfigurationImpl  - database product name: 'MySQL'

2023-06-05 22:00:19,299 7108  [           main] DEBUG ProcessEngineConfigurationImpl  - using database type: mysql

2023-06-05 22:00:19,641 7450  [           main] DEBUG ache.ibatis.logging.LogFactory  - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/D:/studysoftware/mavenRepository-gpidea/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar) to method java.lang.Object.finalize()

WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2023-06-05 22:00:21,509 9318  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:21,509 9318  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting SchemaOperationsProcessEngineBuild --------------------------------------------------------

2023-06-05 22:00:21,519 9328  [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:00:21,537 9346  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Executing performSchemaOperationsProcessEngineBuild with setting true

2023-06-05 22:00:21,538 9347  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:00:21,561 9370  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:21,972 9781  [           main] DEBUG pertyEntityImpl.selectProperty  - ==>  Preparing: select * from ACT_GE_PROPERTY where NAME_ = ?

2023-06-05 22:00:22,016 9825  [           main] DEBUG pertyEntityImpl.selectProperty  - ==> Parameters: schema.version(String)

2023-06-05 22:00:22,063 9872  [           main] DEBUG pertyEntityImpl.selectProperty  - <==      Total: 1

2023-06-05 22:00:22,148 9957  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:00:22,148 9957  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 0 update, 0 delete.

2023-06-05 22:00:22,148 9957  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:00:22,148 9957  [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:00:22,149 9958  [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:00:22,150 9959  [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:00:22,151 9960  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,153 9962  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,154 9963  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- SchemaOperationsProcessEngineBuild finished --------------------------------------------------------

2023-06-05 22:00:22,154 9963  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,154 9963  [           main] INFO  .engine.impl.ProcessEngineImpl  - ProcessEngine default created

2023-06-05 22:00:22,176 9985  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,176 9985  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting ValidateExecutionRelatedEntityCountCfgCmd --------------------------------------------------------

2023-06-05 22:00:22,176 9985  [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:00:22,177 9986  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:00:22,180 9989  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,181 9990  [           main] DEBUG pertyEntityImpl.selectProperty  - ==>  Preparing: select * from ACT_GE_PROPERTY where NAME_ = ?

2023-06-05 22:00:22,181 9990  [           main] DEBUG pertyEntityImpl.selectProperty  - ==> Parameters: cfg.execution-related-entities-count(String)

2023-06-05 22:00:22,183 9992  [           main] DEBUG pertyEntityImpl.selectProperty  - <==      Total: 1

2023-06-05 22:00:22,183 9992  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:00:22,183 9992  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 0 update, 0 delete.

2023-06-05 22:00:22,184 9993  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:00:22,184 9993  [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:00:22,184 9993  [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:00:22,184 9993  [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:00:22,185 9994  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,188 9997  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,188 9997  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- ValidateExecutionRelatedEntityCountCfgCmd finished --------------------------------------------------------

2023-06-05 22:00:22,188 9997  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,188 9997  [           main] INFO  activiti.engine.ProcessEngines  - initialised process engine default

2023-06-05 22:00:22,196 10005 [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,196 10005 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting StartProcessInstanceCmd --------------------------------------------------------

2023-06-05 22:00:22,196 10005 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:00:22,197 10006 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:00:22,198 10007 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,199 10008 [           main] DEBUG ctLatestProcessDefinitionByKey  - ==>  Preparing: select * from ACT_RE_PROCDEF where KEY_ = ? and (TENANT_ID_ = '' or TENANT_ID_ is null) and VERSION_ = (select max(VERSION_) from ACT_RE_PROCDEF where KEY_ = ? and (TENANT_ID_ = '' or TENANT_ID_ is null))

2023-06-05 22:00:22,200 10009 [           main] DEBUG ctLatestProcessDefinitionByKey  - ==> Parameters: myLeave(String), myLeave(String)

2023-06-05 22:00:22,217 10026 [           main] DEBUG ctLatestProcessDefinitionByKey  - <==      Total: 1

2023-06-05 22:00:22,220 10029 [           main] DEBUG entEntityImpl.selectDeployment  - ==>  Preparing: select * from ACT_RE_DEPLOYMENT where ID_ = ? 

2023-06-05 22:00:22,222 10031 [           main] DEBUG entEntityImpl.selectDeployment  - ==> Parameters: 72501(String)

2023-06-05 22:00:22,250 10059 [           main] DEBUG entEntityImpl.selectDeployment  - <==      Total: 1

2023-06-05 22:00:22,253 10062 [           main] DEBUG mpl.bpmn.deployer.BpmnDeployer  - Processing deployment ??????

2023-06-05 22:00:22,257 10066 [           main] DEBUG .selectResourcesByDeploymentId  - ==>  Preparing: select * from ACT_GE_BYTEARRAY where DEPLOYMENT_ID_ = ? order by NAME_ asc 

2023-06-05 22:00:22,259 10068 [           main] DEBUG .selectResourcesByDeploymentId  - ==> Parameters: 72501(String)

2023-06-05 22:00:22,300 10109 [           main] DEBUG .selectResourcesByDeploymentId  - <==      Total: 2

2023-06-05 22:00:22,316 10125 [           main] DEBUG ployer.ParsedDeploymentBuilder  - Processing BPMN resource bpmn/Leave.bpmn

2023-06-05 22:00:22,565 10374 [           main] DEBUG er.handler.ProcessParseHandler  - Parsing process myLeave

2023-06-05 22:00:22,585 10394 [           main] DEBUG ssDefinitionByDeploymentAndKey  - ==>  Preparing: select * from ACT_RE_PROCDEF where DEPLOYMENT_ID_ = ? and KEY_ = ? and (TENANT_ID_ = '' or TENANT_ID_ is null) 

2023-06-05 22:00:22,586 10395 [           main] DEBUG ssDefinitionByDeploymentAndKey  - ==> Parameters: 72501(String), myLeave(String)

2023-06-05 22:00:22,590 10399 [           main] DEBUG ssDefinitionByDeploymentAndKey  - <==      Total: 1

2023-06-05 22:00:22,593 10402 [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,594 10403 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting GetProcessDefinitionInfoCmd --------------------------------------------------------

2023-06-05 22:00:22,594 10403 [           main] DEBUG ptor.CommandContextInterceptor  - Valid context found. Reusing it for the current command 'org.activiti.engine.impl.cmd.GetProcessDefinitionInfoCmd'

2023-06-05 22:00:22,594 10403 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:00:22,602 10411 [           main] DEBUG itionInfoByProcessDefinitionId  - ==>  Preparing: select * from ACT_PROCDEF_INFO where PROC_DEF_ID_ = ? 

2023-06-05 22:00:22,603 10412 [           main] DEBUG itionInfoByProcessDefinitionId  - ==> Parameters: myLeave:3:72504(String)

2023-06-05 22:00:22,610 10419 [           main] DEBUG itionInfoByProcessDefinitionId  - <==      Total: 0

2023-06-05 22:00:22,611 10420 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- GetProcessDefinitionInfoCmd finished --------------------------------------------------------

2023-06-05 22:00:22,611 10420 [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,615 10424 [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,616 10425 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting GetNextIdBlockCmd --------------------------------------------------------

2023-06-05 22:00:22,616 10425 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:00:22,617 10426 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:00:22,679 10488 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,681 10490 [           main] DEBUG pertyEntityImpl.selectProperty  - ==>  Preparing: select * from ACT_GE_PROPERTY where NAME_ = ? 

2023-06-05 22:00:22,682 10491 [           main] DEBUG pertyEntityImpl.selectProperty  - ==> Parameters: next.dbid(String)

2023-06-05 22:00:22,685 10494 [           main] DEBUG pertyEntityImpl.selectProperty  - <==      Total: 1

2023-06-05 22:00:22,686 10495 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:00:22,686 10495 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   update PropertyEntity[name=next.dbid, value=87501]

2023-06-05 22:00:22,686 10495 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 1 update, 0 delete.

2023-06-05 22:00:22,687 10496 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:00:22,687 10496 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - updating: PropertyEntity[name=next.dbid, value=87501]

2023-06-05 22:00:22,687 10496 [           main] DEBUG pertyEntityImpl.updateProperty  - ==>  Preparing: update ACT_GE_PROPERTY SET REV_ = ?, VALUE_ = ? where NAME_ = ? and REV_ = ? 

2023-06-05 22:00:22,688 10497 [           main] DEBUG pertyEntityImpl.updateProperty  - ==> Parameters: 36(Integer), 87501(String), next.dbid(String), 35(Integer)

2023-06-05 22:00:22,706 10515 [           main] DEBUG pertyEntityImpl.updateProperty  - <==    Updates: 1

2023-06-05 22:00:22,707 10516 [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:00:22,707 10516 [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:00:22,709 10518 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Committing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,824 10633 [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:00:22,828 10637 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,829 10638 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:22,829 10638 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- GetNextIdBlockCmd finished --------------------------------------------------------

2023-06-05 22:00:22,830 10639 [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:00:22,830 10639 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,830 10639 [           main] DEBUG ity.ExecutionEntityManagerImpl  - Child execution Execution[ id '85002' ] - parent '85001' created with parent 85001

2023-06-05 22:00:22,832 10641 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.agenda.ContinueProcessOperation added to agenda

2023-06-05 22:00:22,832 10641 [           main] DEBUG mpl.interceptor.CommandInvoker  - Executing operation class org.activiti.engine.impl.agenda.ContinueProcessOperation

2023-06-05 22:00:22,833 10642 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,833 10642 [           main] DEBUG genda.ContinueProcessOperation  - Executing activityBehavior class org.activiti.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior on activity '_2' with execution 85002

2023-06-05 22:00:22,835 10644 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation added to agenda

2023-06-05 22:00:22,836 10645 [           main] DEBUG mpl.interceptor.CommandInvoker  - Executing operation class org.activiti.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation

2023-06-05 22:00:22,836 10645 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,837 10646 [           main] DEBUG OutgoingSequenceFlowsOperation  - Leaving flow node class org.activiti.bpmn.model.StartEvent with id '_2' by following it's 1 outgoing sequenceflow

2023-06-05 22:00:22,841 10650 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.agenda.ContinueProcessOperation added to agenda

2023-06-05 22:00:22,842 10651 [           main] DEBUG mpl.interceptor.CommandInvoker  - Executing operation class org.activiti.engine.impl.agenda.ContinueProcessOperation

2023-06-05 22:00:22,843 10652 [           main] DEBUG genda.ContinueProcessOperation  - Sequence flow '_7' encountered. Continuing process by following it using execution 85002

2023-06-05 22:00:22,844 10653 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.agenda.ContinueProcessOperation added to agenda

2023-06-05 22:00:22,844 10653 [           main] DEBUG mpl.interceptor.CommandInvoker  - Executing operation class org.activiti.engine.impl.agenda.ContinueProcessOperation

2023-06-05 22:00:22,844 10653 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,844 10653 [           main] DEBUG genda.ContinueProcessOperation  - Executing activityBehavior class org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior on activity '_3' with execution 85002

2023-06-05 22:00:22,903 10712 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: AUDIT

2023-06-05 22:00:22,905 10714 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: AUDIT

2023-06-05 22:00:22,906 10715 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,907 10716 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,908 10717 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: ACTIVITY

2023-06-05 22:00:22,908 10717 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: AUDIT

2023-06-05 22:00:22,909 10718 [           main] DEBUG .history.DefaultHistoryManager  - Current history level: AUDIT, level required: AUDIT

2023-06-05 22:00:22,912 10721 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.agenda.ExecuteInactiveBehaviorsOperation added to agenda

2023-06-05 22:00:22,912 10721 [           main] DEBUG mpl.interceptor.CommandInvoker  - Executing operation class org.activiti.engine.impl.agenda.ExecuteInactiveBehaviorsOperation

2023-06-05 22:00:22,915 10724 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:00:22,915 10724 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert org.activiti.engine.impl.persistence.entity.HistoricTaskInstanceEntityImpl@1d12e953

2023-06-05 22:00:22,915 10724 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert IdentityLinkEntity[id=85006, type=participant, userId=worker, processInstanceId=85001]

2023-06-05 22:00:22,915 10724 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert HistoricActivityInstanceEntity[id=85003, activityId=_2, activityName=StartEvent]

2023-06-05 22:00:22,916 10725 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert HistoricActivityInstanceEntity[id=85004, activityId=_3, activityName=提交请假申请]

2023-06-05 22:00:22,916 10725 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert Task[id=85005, name=提交请假申请]

2023-06-05 22:00:22,916 10725 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert org.activiti.engine.impl.persistence.entity.HistoricIdentityLinkEntityImpl@57cb70be

2023-06-05 22:00:22,916 10725 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert ProcessInstance[85001]

2023-06-05 22:00:22,916 10725 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert Execution[ id '85002' ] - activity '_3 - parent '85001'

2023-06-05 22:00:22,917 10726 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   insert HistoricProcessInstanceEntity[superProcessInstanceId=null]

2023-06-05 22:00:22,917 10726 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 9 insert, 0 update, 0 delete.

2023-06-05 22:00:22,918 10727 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:00:22,919 10728 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - inserting: org.activiti.engine.impl.persistence.entity.HistoricTaskInstanceEntityImpl@1d12e953

2023-06-05 22:00:22,919 10728 [           main] DEBUG mpl.insertHistoricTaskInstance  - ==>  Preparing: insert into ACT_HI_TASKINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, OWNER_, ASSIGNEE_, START_TIME_, CLAIM_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TASK_DEF_KEY_, FORM_KEY_, PRIORITY_, DUE_DATE_, CATEGORY_, TENANT_ID_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 

2023-06-05 22:00:22,939 10748 [           main] DEBUG mpl.insertHistoricTaskInstance  - ==> Parameters: 85005(String), myLeave:3:72504(String), 85001(String), 85002(String), 提交请假申请(String), null, null, null, worker(String), 2023-06-05 22:00:22.906(Timestamp), null, null, null, null, _3(String), null, 50(Integer), null, null, (String)

2023-06-05 22:00:22,993 10802 [           main] DEBUG mpl.insertHistoricTaskInstance  - <==    Updates: 1

2023-06-05 22:00:22,993 10802 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - inserting: HistoricProcessInstanceEntity[superProcessInstanceId=null]

2023-06-05 22:00:22,993 10802 [           main] DEBUG .insertHistoricProcessInstance  - ==>  Preparing: insert into ACT_HI_PROCINST ( ID_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, START_TIME_, END_TIME_, DURATION_, START_USER_ID_, START_ACT_ID_, END_ACT_ID_, SUPER_PROCESS_INSTANCE_ID_, DELETE_REASON_, TENANT_ID_, NAME_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 

2023-06-05 22:00:22,996 10805 [           main] DEBUG .insertHistoricProcessInstance  - ==> Parameters: 85001(String), 85001(String), 1001(String), myLeave:3:72504(String), 2023-06-05 22:00:22.614(Timestamp), null, null, null, _2(String), null, null, null, (String), null

2023-06-05 22:00:23,206 11015 [           main] DEBUG .insertHistoricProcessInstance  - <==    Updates: 1

2023-06-05 22:00:23,706 11515 [           main] DEBUG InsertHistoricActivityInstance  - ==>  Preparing: insert into ACT_HI_ACTINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, ACT_ID_, TASK_ID_, CALL_PROC_INST_ID_, ACT_NAME_, ACT_TYPE_, ASSIGNEE_, START_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TENANT_ID_ ) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) , (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 

2023-06-05 22:00:23,710 11519 [           main] DEBUG InsertHistoricActivityInstance  - ==> Parameters: 85003(String), myLeave:3:72504(String), 85001(String), 85002(String), _2(String), null, null, StartEvent(String), startEvent(String), null, 2023-06-05 22:00:22.833(Timestamp), 2023-06-05 22:00:22.837(Timestamp), 4(Long), null, (String), 85004(String), myLeave:3:72504(String), 85001(String), 85002(String), _3(String), 85005(String), null, 提交请假申请(String), userTask(String), worker(String), 2023-06-05 22:00:22.844(Timestamp), null, null, null, (String)

2023-06-05 22:00:23,743 11552 [           main] DEBUG InsertHistoricActivityInstance  - <==    Updates: 2

2023-06-05 22:00:23,744 11553 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - inserting: org.activiti.engine.impl.persistence.entity.HistoricIdentityLinkEntityImpl@57cb70be

2023-06-05 22:00:23,745 11554 [           main] DEBUG mpl.insertHistoricIdentityLink  - ==>  Preparing: insert into ACT_HI_IDENTITYLINK (ID_, TYPE_, USER_ID_, GROUP_ID_, TASK_ID_, PROC_INST_ID_) values (?, ?, ?, ?, ?, ?) 

2023-06-05 22:00:23,746 11555 [           main] DEBUG mpl.insertHistoricIdentityLink  - ==> Parameters: 85006(String), participant(String), worker(String), null, null, 85001(String)

2023-06-05 22:00:23,841 11650 [           main] DEBUG mpl.insertHistoricIdentityLink  - <==    Updates: 1

2023-06-05 22:00:23,847 11656 [           main] DEBUG EntityImpl.bulkInsertExecution  - ==>  Preparing: insert into ACT_RU_EXECUTION (ID_, REV_, PROC_INST_ID_, BUSINESS_KEY_, PROC_DEF_ID_, ACT_ID_, IS_ACTIVE_, IS_CONCURRENT_, IS_SCOPE_,IS_EVENT_SCOPE_, IS_MI_ROOT_, PARENT_ID_, SUPER_EXEC_, ROOT_PROC_INST_ID_, SUSPENSION_STATE_, TENANT_ID_, NAME_, START_TIME_, START_USER_ID_, IS_COUNT_ENABLED_, EVT_SUBSCR_COUNT_, TASK_COUNT_, JOB_COUNT_, TIMER_JOB_COUNT_, SUSP_JOB_COUNT_, DEADLETTER_JOB_COUNT_, VAR_COUNT_, ID_LINK_COUNT_, APP_VERSION_) values (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) , (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 

2023-06-05 22:00:23,852 11661 [           main] DEBUG EntityImpl.bulkInsertExecution  - ==> Parameters: 85001(String), 85001(String), 1001(String), myLeave:3:72504(String), null, true(Boolean), false(Boolean), true(Boolean), false(Boolean), false(Boolean), null, null, 85001(String), 1(Integer), (String), null, 2023-06-05 22:00:22.614(Timestamp), null, false(Boolean), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), null, 85002(String), 85001(String), null, myLeave:3:72504(String), _3(String), true(Boolean), false(Boolean), false(Boolean), false(Boolean), false(Boolean), 85001(String), null, 85001(String), 1(Integer), (String), null, 2023-06-05 22:00:22.83(Timestamp), null, false(Boolean), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), null

2023-06-05 22:00:23,862 11671 [           main] DEBUG EntityImpl.bulkInsertExecution  - <==    Updates: 2

2023-06-05 22:00:23,862 11671 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - inserting: Task[id=85005, name=提交请假申请]

2023-06-05 22:00:23,862 11671 [           main] DEBUG tity.TaskEntityImpl.insertTask  - ==>  Preparing: insert into ACT_RU_TASK (ID_, REV_, NAME_, BUSINESS_KEY_, PARENT_TASK_ID_, DESCRIPTION_, PRIORITY_, CREATE_TIME_, OWNER_, ASSIGNEE_, DELEGATION_, EXECUTION_ID_, PROC_INST_ID_, PROC_DEF_ID_, TASK_DEF_KEY_, DUE_DATE_, CATEGORY_, SUSPENSION_STATE_, TENANT_ID_, FORM_KEY_, CLAIM_TIME_, APP_VERSION_) values (?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 

2023-06-05 22:00:23,864 11673 [           main] DEBUG tity.TaskEntityImpl.insertTask  - ==> Parameters: 85005(String), 提交请假申请(String), 1001(String), null, null, 50(Integer), 2023-06-05 22:00:22.844(Timestamp), null, worker(String), null, 85002(String), 85001(String), myLeave:3:72504(String), _3(String), null, null, 1(Integer), (String), null, null, null

2023-06-05 22:00:23,992 11801 [           main] DEBUG tity.TaskEntityImpl.insertTask  - <==    Updates: 1

2023-06-05 22:00:23,993 11802 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - inserting: IdentityLinkEntity[id=85006, type=participant, userId=worker, processInstanceId=85001]

2023-06-05 22:00:23,996 11805 [           main] DEBUG kEntityImpl.insertIdentityLink  - ==>  Preparing: insert into ACT_RU_IDENTITYLINK (ID_, REV_, TYPE_, USER_ID_, GROUP_ID_, TASK_ID_, PROC_INST_ID_, PROC_DEF_ID_) values (?, 1, ?, ?, ?, ?, ?, ?) 

2023-06-05 22:00:24,000 11809 [           main] DEBUG kEntityImpl.insertIdentityLink  - ==> Parameters: 85006(String), participant(String), worker(String), null, null, 85001(String), null

2023-06-05 22:00:24,011 11820 [           main] DEBUG kEntityImpl.insertIdentityLink  - <==    Updates: 1

2023-06-05 22:00:24,013 11822 [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:00:24,013 11822 [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:00:24,015 11824 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Committing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:24,068 11877 [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:00:24,069 11878 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:24,071 11880 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:00:24,072 11881 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- StartProcessInstanceCmd finished --------------------------------------------------------

2023-06-05 22:00:24,072 11881 [           main] DEBUG mpl.interceptor.LogInterceptor  -

businessKey==1001

Disconnected from the target VM, address: '127.0.0.1:56068', transport: 'socket'

Process finished with exit code 0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值