|
@@ -0,0 +1,898 @@
|
|
|
+Table: act_evt_log
|
|
|
+---------------+----------------------+------+-----+----------------------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+----------------------+------+-----+----------------------+---------
|
|
|
+ LOG_NR_ | BIGINT(19) | NO | PRI | |
|
|
|
+ TYPE_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TIME_STAMP_ | TIMESTAMP(19) | NO | | CURRENT_TIMESTAMP(3) |
|
|
|
+ USER_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ DATA_ | LONGBLOB(2147483647) | YES | | |
|
|
|
+ LOCK_OWNER_ | VARCHAR(255) | YES | | |
|
|
|
+ LOCK_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+ IS_PROCESSED_ | TINYINT(3) | YES | | 0 |
|
|
|
+---------------+----------------------+------+-----+----------------------+---------
|
|
|
+
|
|
|
+Table: act_ge_bytearray
|
|
|
+----------------+----------------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------+----------------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ DEPLOYMENT_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ BYTES_ | LONGBLOB(2147483647) | YES | | |
|
|
|
+ GENERATED_ | TINYINT(3) | YES | | |
|
|
|
+----------------+----------------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_ge_property
|
|
|
+--------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+--------+--------------+------+-----+---------+---------
|
|
|
+ NAME_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ VALUE_ | VARCHAR(300) | YES | | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+--------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_actinst
|
|
|
+--------------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+--------------------+--------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | NO | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | NO | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | NO | | |
|
|
|
+ ACT_ID_ | VARCHAR(255) | NO | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ CALL_PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ ACT_NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ ACT_TYPE_ | VARCHAR(255) | NO | | |
|
|
|
+ ASSIGNEE_ | VARCHAR(255) | YES | | |
|
|
|
+ START_TIME_ | DATETIME(19) | NO | | |
|
|
|
+ END_TIME_ | DATETIME(19) | YES | | |
|
|
|
+ DURATION_ | BIGINT(19) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+--------------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_attachment
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ USER_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ DESCRIPTION_ | VARCHAR(4000) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ URL_ | VARCHAR(4000) | YES | | |
|
|
|
+ CONTENT_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TIME_ | DATETIME(19) | YES | | |
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_comment
|
|
|
+---------------+----------------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+----------------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+ TIME_ | DATETIME(19) | NO | | |
|
|
|
+ USER_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ ACTION_ | VARCHAR(255) | YES | | |
|
|
|
+ MESSAGE_ | VARCHAR(4000) | YES | | |
|
|
|
+ FULL_MSG_ | LONGBLOB(2147483647) | YES | | |
|
|
|
+---------------+----------------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_detail
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ TYPE_ | VARCHAR(255) | NO | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ ACT_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | NO | | |
|
|
|
+ VAR_TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ TIME_ | DATETIME(19) | NO | | |
|
|
|
+ BYTEARRAY_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ DOUBLE_ | DOUBLE(22) | YES | | |
|
|
|
+ LONG_ | BIGINT(19) | YES | | |
|
|
|
+ TEXT_ | VARCHAR(4000) | YES | | |
|
|
|
+ TEXT2_ | VARCHAR(4000) | YES | | |
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_identitylink
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ GROUP_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+ USER_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_procinst
|
|
|
+----------------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | NO | | |
|
|
|
+ BUSINESS_KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | NO | | |
|
|
|
+ START_TIME_ | DATETIME(19) | NO | | |
|
|
|
+ END_TIME_ | DATETIME(19) | YES | | |
|
|
|
+ DURATION_ | BIGINT(19) | YES | | |
|
|
|
+ START_USER_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ START_ACT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ END_ACT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ SUPER_PROCESS_INSTANCE_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ DELETE_REASON_ | VARCHAR(4000) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+----------------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_taskinst
|
|
|
+-----------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-----------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TASK_DEF_KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ PARENT_TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ DESCRIPTION_ | VARCHAR(4000) | YES | | |
|
|
|
+ OWNER_ | VARCHAR(255) | YES | | |
|
|
|
+ ASSIGNEE_ | VARCHAR(255) | YES | | |
|
|
|
+ START_TIME_ | DATETIME(19) | NO | | |
|
|
|
+ CLAIM_TIME_ | DATETIME(19) | YES | | |
|
|
|
+ END_TIME_ | DATETIME(19) | YES | | |
|
|
|
+ DURATION_ | BIGINT(19) | YES | | |
|
|
|
+ DELETE_REASON_ | VARCHAR(4000) | YES | | |
|
|
|
+ PRIORITY_ | INT(10) | YES | | |
|
|
|
+ DUE_DATE_ | DATETIME(19) | YES | | |
|
|
|
+ FORM_KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ CATEGORY_ | VARCHAR(255) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+-----------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_hi_varinst
|
|
|
+--------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+--------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | NO | | |
|
|
|
+ VAR_TYPE_ | VARCHAR(100) | YES | | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ BYTEARRAY_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ DOUBLE_ | DOUBLE(22) | YES | | |
|
|
|
+ LONG_ | BIGINT(19) | YES | | |
|
|
|
+ TEXT_ | VARCHAR(4000) | YES | | |
|
|
|
+ TEXT2_ | VARCHAR(4000) | YES | | |
|
|
|
+ CREATE_TIME_ | DATETIME(19) | YES | | |
|
|
|
+ LAST_UPDATED_TIME_ | DATETIME(19) | YES | | |
|
|
|
+--------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_id_group
|
|
|
+-------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------+--------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+-------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_id_info
|
|
|
+------------+----------------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+------------+----------------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ USER_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(64) | YES | | |
|
|
|
+ KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ VALUE_ | VARCHAR(255) | YES | | |
|
|
|
+ PASSWORD_ | LONGBLOB(2147483647) | YES | | |
|
|
|
+ PARENT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+------------+----------------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_id_membership
|
|
|
+-----------+-------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-----------+-------------+------+-----+---------+---------
|
|
|
+ USER_ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ GROUP_ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+-----------+-------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_id_user
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ FIRST_ | VARCHAR(255) | YES | | |
|
|
|
+ LAST_ | VARCHAR(255) | YES | | |
|
|
|
+ EMAIL_ | VARCHAR(255) | YES | | |
|
|
|
+ PWD_ | VARCHAR(255) | YES | | |
|
|
|
+ PICTURE_ID_ | VARCHAR(64) | YES | | |
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_procdef_info
|
|
|
+---------------+-------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+-------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | NO | | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ INFO_JSON_ID_ | VARCHAR(64) | YES | | |
|
|
|
+---------------+-------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_re_deployment
|
|
|
+--------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+--------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ CATEGORY_ | VARCHAR(255) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ DEPLOY_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+--------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_re_model
|
|
|
+-------------------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ CATEGORY_ | VARCHAR(255) | YES | | |
|
|
|
+ CREATE_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+ LAST_UPDATE_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+ VERSION_ | INT(10) | YES | | |
|
|
|
+ META_INFO_ | VARCHAR(4000) | YES | | |
|
|
|
+ DEPLOYMENT_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EDITOR_SOURCE_VALUE_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EDITOR_SOURCE_EXTRA_VALUE_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+-------------------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_re_procdef
|
|
|
+-------------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ CATEGORY_ | VARCHAR(255) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ KEY_ | VARCHAR(255) | NO | | |
|
|
|
+ VERSION_ | INT(10) | NO | | |
|
|
|
+ DEPLOYMENT_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ RESOURCE_NAME_ | VARCHAR(4000) | YES | | |
|
|
|
+ DGRM_RESOURCE_NAME_ | VARCHAR(4000) | YES | | |
|
|
|
+ DESCRIPTION_ | VARCHAR(4000) | YES | | |
|
|
|
+ HAS_START_FORM_KEY_ | TINYINT(3) | YES | | |
|
|
|
+ HAS_GRAPHICAL_NOTATION_ | TINYINT(3) | YES | | |
|
|
|
+ SUSPENSION_STATE_ | INT(10) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+-------------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_ru_event_subscr
|
|
|
+----------------+---------------+------+-----+----------------------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------+---------------+------+-----+----------------------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ EVENT_TYPE_ | VARCHAR(255) | NO | | |
|
|
|
+ EVENT_NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ ACTIVITY_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ CONFIGURATION_ | VARCHAR(255) | YES | | |
|
|
|
+ CREATED_ | TIMESTAMP(19) | NO | | CURRENT_TIMESTAMP(3) |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+----------------+---------------+------+-----+----------------------+---------
|
|
|
+
|
|
|
+Table: act_ru_execution
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ BUSINESS_KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ PARENT_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ SUPER_EXEC_ | VARCHAR(64) | YES | | |
|
|
|
+ ACT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ IS_ACTIVE_ | TINYINT(3) | YES | | |
|
|
|
+ IS_CONCURRENT_ | TINYINT(3) | YES | | |
|
|
|
+ IS_SCOPE_ | TINYINT(3) | YES | | |
|
|
|
+ IS_EVENT_SCOPE_ | TINYINT(3) | YES | | |
|
|
|
+ SUSPENSION_STATE_ | INT(10) | YES | | |
|
|
|
+ CACHED_ENT_STATE_ | INT(10) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ LOCK_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_ru_identitylink
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ GROUP_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+ USER_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_ru_job
|
|
|
+----------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(255) | NO | | |
|
|
|
+ LOCK_EXP_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+ LOCK_OWNER_ | VARCHAR(255) | YES | | |
|
|
|
+ EXCLUSIVE_ | BIT | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROCESS_INSTANCE_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ RETRIES_ | INT(10) | YES | | |
|
|
|
+ EXCEPTION_STACK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ EXCEPTION_MSG_ | VARCHAR(4000) | YES | | |
|
|
|
+ DUEDATE_ | TIMESTAMP(19) | YES | | |
|
|
|
+ REPEAT_ | VARCHAR(255) | YES | | |
|
|
|
+ HANDLER_TYPE_ | VARCHAR(255) | YES | | |
|
|
|
+ HANDLER_CFG_ | VARCHAR(4000) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+----------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_ru_task
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_DEF_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ NAME_ | VARCHAR(255) | YES | | |
|
|
|
+ PARENT_TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ DESCRIPTION_ | VARCHAR(4000) | YES | | |
|
|
|
+ TASK_DEF_KEY_ | VARCHAR(255) | YES | | |
|
|
|
+ OWNER_ | VARCHAR(255) | YES | | |
|
|
|
+ ASSIGNEE_ | VARCHAR(255) | YES | | |
|
|
|
+ DELEGATION_ | VARCHAR(64) | YES | | |
|
|
|
+ PRIORITY_ | INT(10) | YES | | |
|
|
|
+ CREATE_TIME_ | TIMESTAMP(19) | YES | | |
|
|
|
+ DUE_DATE_ | DATETIME(19) | YES | | |
|
|
|
+ CATEGORY_ | VARCHAR(255) | YES | | |
|
|
|
+ SUSPENSION_STATE_ | INT(10) | YES | | |
|
|
|
+ TENANT_ID_ | VARCHAR(255) | YES | | |
|
|
|
+ FORM_KEY_ | VARCHAR(255) | YES | | |
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: act_ru_variable
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ ID_ | VARCHAR(64) | NO | PRI | |
|
|
|
+ REV_ | INT(10) | YES | | |
|
|
|
+ TYPE_ | VARCHAR(255) | NO | | |
|
|
|
+ NAME_ | VARCHAR(255) | NO | | |
|
|
|
+ EXECUTION_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ PROC_INST_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ TASK_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ BYTEARRAY_ID_ | VARCHAR(64) | YES | | |
|
|
|
+ DOUBLE_ | DOUBLE(22) | YES | | |
|
|
|
+ LONG_ | BIGINT(19) | YES | | |
|
|
|
+ TEXT_ | VARCHAR(4000) | YES | | |
|
|
|
+ TEXT2_ | VARCHAR(4000) | YES | | |
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: blog_content
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ cid | BIGINT(19) | NO | PRI | |
|
|
|
+ title | VARCHAR(255) | YES | | | 标题
|
|
|
+ slug | VARCHAR(255) | YES | | |
|
|
|
+ created | BIGINT(19) | YES | | | 创建人id
|
|
|
+ modified | BIGINT(19) | YES | | | 最近修改人id
|
|
|
+ content | TEXT(65535) | YES | | | 内容
|
|
|
+ type | VARCHAR(16) | YES | | | 类型
|
|
|
+ tags | VARCHAR(200) | YES | | | 标签
|
|
|
+ categories | VARCHAR(200) | YES | | | 分类
|
|
|
+ hits | INT(10) | YES | | |
|
|
|
+ comments_num | INT(10) | YES | | 0 | 评论数量
|
|
|
+ allow_comment | INT(10) | YES | | 0 | 开启评论
|
|
|
+ allow_ping | INT(10) | YES | | 0 | 允许ping
|
|
|
+ allow_feed | INT(10) | YES | | 0 | 允许反馈
|
|
|
+ status | INT(10) | YES | | | 状态
|
|
|
+ author | VARCHAR(100) | YES | | | 作者
|
|
|
+ gtm_create | DATETIME(19) | YES | | | 创建时间
|
|
|
+ gtm_modified | DATETIME(19) | YES | | | 修改时间
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: customer
|
|
|
+-------------+----------------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+----------------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | |
|
|
|
+ wx_id | VARCHAR(64) | NO | PRI | | 微信绑定ID
|
|
|
+ NAME | TEXT(65535) | YES | | |
|
|
|
+ photo | MEDIUMTEXT(16777215) | YES | | | 头像
|
|
|
+ sex | VARCHAR(6) | YES | | | 用户的性别:值为1时是男性,值为2时是女性,值为0时是未知
|
|
|
+ nation | VARCHAR(16) | YES | | | 民族
|
|
|
+ score | VARCHAR(64) | YES | | | 积分
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+ unionid | VARCHAR(64) | YES | | | 只有在用户将公众号绑定到微信开放平台帐号后,才会出现该字段
|
|
|
+ privilege | VARCHAR(500) | YES | | | 用户特权信息,json 数组,如微信沃卡用户为(chinaunicom)
|
|
|
+ country | VARCHAR(20) | YES | | CN | 国家,如中国为CN
|
|
|
+ province | VARCHAR(255) | YES | | | 用户个人资料填写的省份
|
|
|
+ city | VARCHAR(255) | YES | | | 普通用户个人资料填写的城市
|
|
|
+ openid | VARCHAR(45) | YES | | |
|
|
|
+ nickname | VARCHAR(45) | YES | | |
|
|
|
+ language | VARCHAR(45) | YES | | |
|
|
|
+ headimgurl | VARCHAR(500) | YES | | |
|
|
|
+-------------+----------------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: farmer
|
|
|
+-----------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-----------------+--------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | |
|
|
|
+ name | VARCHAR(32) | YES | | | 姓名
|
|
|
+ sex | VARCHAR(6) | YES | | | 性别
|
|
|
+ id_card | VARCHAR(32) | YES | | | 身份证号
|
|
|
+ code | VARCHAR(32) | YES | | | 贫困户编号
|
|
|
+ num | INT(10) | YES | | | 人数
|
|
|
+ nation | VARCHAR(16) | YES | | | 名族
|
|
|
+ education | VARCHAR(16) | YES | | | 文化程度
|
|
|
+ phone | VARCHAR(16) | YES | | | 手机号
|
|
|
+ bank_id | VARCHAR(32) | YES | | | 银行卡ID
|
|
|
+ income | VARCHAR(16) | YES | | | 人均纯收入
|
|
|
+ type | VARCHAR(16) | YES | | | 贫困户属性
|
|
|
+ wish | TEXT(65535) | YES | | | 心愿
|
|
|
+ farmer_desc | TEXT(65535) | YES | | | 贫困户详情
|
|
|
+ images | TEXT(65535) | YES | | | 图片(多张)
|
|
|
+ city_id | VARCHAR(32) | YES | | | 市id
|
|
|
+ county_id | VARCHAR(32) | YES | | | 区、县id
|
|
|
+ town_id | VARCHAR(32) | YES | | | 镇、乡id
|
|
|
+ village_id | VARCHAR(32) | YES | | | 村id
|
|
|
+ viliage_info_id | VARCHAR(32) | YES | | | 管理村详情表id
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+-----------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: farmer_bank
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | | 主键
|
|
|
+ bank_code | VARCHAR(64) | YES | | | 开户行行号
|
|
|
+ card_no | VARCHAR(32) | YES | | | 银行卡卡号
|
|
|
+ bank_name | VARCHAR(64) | YES | | | 开户行名称
|
|
|
+ card_name | VARCHAR(64) | YES | | | 银行卡登记人
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: index_content
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | |
|
|
|
+ image | TEXT(65535) | YES | | | 图片
|
|
|
+ farmer_id | VARCHAR(32) | YES | | | 关联的贫困户ID
|
|
|
+ order_num | INT(10) | YES | | 0 | 排序
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: oa_notify
|
|
|
+-------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+---------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | | 编号
|
|
|
+ type | CHAR(1) | YES | | | 类型
|
|
|
+ title | VARCHAR(200) | YES | | | 标题
|
|
|
+ content | VARCHAR(2000) | YES | | | 内容
|
|
|
+ files | VARCHAR(2000) | YES | | | 附件
|
|
|
+ status | CHAR(1) | YES | | | 状态
|
|
|
+ create_by | BIGINT(19) | YES | | | 创建者
|
|
|
+ create_date | DATETIME(19) | YES | | | 创建时间
|
|
|
+ update_by | VARCHAR(64) | YES | | | 更新者
|
|
|
+ update_date | DATETIME(19) | YES | | | 更新时间
|
|
|
+ remarks | VARCHAR(255) | YES | | | 备注信息
|
|
|
+ del_flag | CHAR(1) | YES | | 0 | 删除标记
|
|
|
+-------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: oa_notify_record
|
|
|
+-----------+------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-----------+------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | | 编号
|
|
|
+ notify_id | BIGINT(19) | YES | | | 通知通告ID
|
|
|
+ user_id | BIGINT(19) | YES | | | 接受人
|
|
|
+ is_read | BIT | YES | | 0 | 阅读标记
|
|
|
+ read_date | DATE(10) | YES | | | 阅读时间
|
|
|
+-----------+------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: order_info
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | | 主键
|
|
|
+ code | VARCHAR(32) | YES | | | 订单名称
|
|
|
+ order_id | VARCHAR(32) | YES | | | 订单号ID
|
|
|
+ certificate_no | VARCHAR(32) | YES | | | 证书编号
|
|
|
+ gain_time | DATETIME(19) | YES | | | 获取证日期
|
|
|
+ certificateimageb | VARCHAR(500) | YES | | | 证书图片反面
|
|
|
+ certificateimagea | VARCHAR(500) | YES | | | 证书图片正面
|
|
|
+ tree_id | VARCHAR(32) | YES | | | 树ID
|
|
|
+ price | DECIMAL(16,2) | YES | | | 价格
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 2 | 状态:3、农户已经收到钱;2、待支付;1、已支付;0、未购;4、转账中;5、转账失败
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+ trans_id | VARCHAR(32) | YES | | | 微信支付订单号
|
|
|
+ payment_date | DATETIME(19) | YES | | | 支付完成时间
|
|
|
+ order_no | VARCHAR(32) | YES | | |
|
|
|
+ transFile | VARCHAR(45) | YES | | | 转账文件名称
|
|
|
+ transRetFile | VARCHAR(45) | YES | | | 银行回盘文件
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: salary
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(64) | NO | PRI | | 编号
|
|
|
+ PROC_INS_ID | VARCHAR(64) | YES | | | 流程实例ID
|
|
|
+ USER_ID | VARCHAR(64) | YES | | | 变动用户
|
|
|
+ OFFICE_ID | VARCHAR(64) | YES | | | 归属部门
|
|
|
+ POST | VARCHAR(255) | YES | | | 岗位
|
|
|
+ AGE | CHAR(1) | YES | | | 性别
|
|
|
+ EDU | VARCHAR(255) | YES | | | 学历
|
|
|
+ CONTENT | VARCHAR(255) | YES | | | 调整原因
|
|
|
+ OLDA | VARCHAR(255) | YES | | | 现行标准 薪酬档级
|
|
|
+ OLDB | VARCHAR(255) | YES | | | 现行标准 月工资额
|
|
|
+ OLDC | VARCHAR(255) | YES | | | 现行标准 年薪总额
|
|
|
+ NEWA | VARCHAR(255) | YES | | | 调整后标准 薪酬档级
|
|
|
+ NEWB | VARCHAR(255) | YES | | | 调整后标准 月工资额
|
|
|
+ NEWC | VARCHAR(255) | YES | | | 调整后标准 年薪总额
|
|
|
+ ADD_NUM | VARCHAR(255) | YES | | | 月增资
|
|
|
+ EXE_DATE | VARCHAR(255) | YES | | | 执行时间
|
|
|
+ HR_TEXT | VARCHAR(255) | YES | | | 人力资源部门意见
|
|
|
+ LEAD_TEXT | VARCHAR(255) | YES | | | 分管领导意见
|
|
|
+ MAIN_LEAD_TEXT | VARCHAR(255) | YES | | | 集团主要领导意见
|
|
|
+ create_by | VARCHAR(64) | NO | | | 创建者
|
|
|
+ create_date | DATETIME(19) | NO | | | 创建时间
|
|
|
+ update_by | VARCHAR(64) | NO | | | 更新者
|
|
|
+ update_date | DATETIME(19) | NO | | | 更新时间
|
|
|
+ remarks | VARCHAR(255) | YES | | | 备注信息
|
|
|
+ del_flag | CHAR(1) | NO | | 0 | 删除标记
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: shopcart
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | | 主键
|
|
|
+ open_id | VARCHAR(32) | YES | | | OPENID
|
|
|
+ name | VARCHAR(32) | YES | | | 树名称
|
|
|
+ price | DECIMAL(16,2) | YES | | | 树价格
|
|
|
+ diameter | VARCHAR(16) | YES | | | 直径(树的胸径)
|
|
|
+ code | VARCHAR(16) | YES | | | 树编码
|
|
|
+ tree_type_id | VARCHAR(32) | YES | | | 关联树类别信息外键
|
|
|
+ farmer_id | VARCHAR(32) | YES | | | 关联贫困户外键
|
|
|
+ status | VARCHAR(1) | YES | | 0 | 该树的状态 0:未售 1:已售
|
|
|
+ fresh_time | DATETIME(19) | YES | | | 刷新时间
|
|
|
+ sale_count | INT(10) | YES | | 0 | 销售次数
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+ image_url | VARCHAR(500) | YES | | | 图片树URL
|
|
|
+ image_url_big | VARCHAR(500) | YES | | | 图片树URL
|
|
|
+ tree_id | VARCHAR(32) | YES | | | 树ID
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_dept
|
|
|
+-----------+-------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-----------+-------------+------+-----+---------+---------
|
|
|
+ dept_id | BIGINT(19) | NO | PRI | |
|
|
|
+ parent_id | BIGINT(19) | YES | | | 上级部门ID,一级部门为0
|
|
|
+ name | VARCHAR(50) | YES | | | 部门名称
|
|
|
+ order_num | INT(10) | YES | | | 排序
|
|
|
+ del_flag | TINYINT(3) | YES | | 0 | 是否删除 -1:已删除 0:正常
|
|
|
+-----------+-------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_dict
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | | 编号
|
|
|
+ name | VARCHAR(100) | YES | | | 标签名
|
|
|
+ value | VARCHAR(100) | YES | | | 数据值
|
|
|
+ type | VARCHAR(100) | YES | | | 类型
|
|
|
+ description | VARCHAR(100) | YES | | | 描述
|
|
|
+ sort | DECIMAL(10) | YES | | | 排序(升序)
|
|
|
+ parent_id | BIGINT(19) | YES | | 0 | 父级编号
|
|
|
+ create_by | INT(10) | YES | | | 创建者
|
|
|
+ create_date | DATETIME(19) | YES | | | 创建时间
|
|
|
+ update_by | BIGINT(19) | YES | | | 更新者
|
|
|
+ update_date | DATETIME(19) | YES | | | 更新时间
|
|
|
+ remarks | VARCHAR(255) | YES | | | 备注信息
|
|
|
+ del_flag | CHAR(1) | YES | | 0 | 删除标记
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_file
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | |
|
|
|
+ type | INT(10) | YES | | | 文件类型
|
|
|
+ url | VARCHAR(200) | YES | | | URL地址
|
|
|
+ create_date | DATETIME(19) | YES | | | 创建时间
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_log
|
|
|
+------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+------------+---------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | |
|
|
|
+ user_id | BIGINT(19) | YES | | | 用户id
|
|
|
+ username | VARCHAR(50) | YES | | | 用户名
|
|
|
+ operation | VARCHAR(50) | YES | | | 用户操作
|
|
|
+ time | INT(10) | YES | | | 响应时间
|
|
|
+ method | VARCHAR(200) | YES | | | 请求方法
|
|
|
+ params | VARCHAR(5000) | YES | | | 请求参数
|
|
|
+ ip | VARCHAR(64) | YES | | | IP地址
|
|
|
+ gmt_create | DATETIME(19) | YES | | | 创建时间
|
|
|
+------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_menu
|
|
|
+--------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+--------------+--------------+------+-----+---------+---------
|
|
|
+ menu_id | BIGINT(19) | NO | PRI | |
|
|
|
+ parent_id | BIGINT(19) | YES | | | 父菜单ID,一级菜单为0
|
|
|
+ name | VARCHAR(50) | YES | | | 菜单名称
|
|
|
+ url | VARCHAR(200) | YES | | | 菜单URL
|
|
|
+ perms | VARCHAR(500) | YES | | | 授权(多个用逗号分隔,如:user:list,user:create)
|
|
|
+ type | INT(10) | YES | | | 类型 0:目录 1:菜单 2:按钮
|
|
|
+ icon | VARCHAR(50) | YES | | | 菜单图标
|
|
|
+ order_num | INT(10) | YES | | | 排序
|
|
|
+ gmt_create | DATETIME(19) | YES | | | 创建时间
|
|
|
+ gmt_modified | DATETIME(19) | YES | | | 修改时间
|
|
|
+--------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_role
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ role_id | BIGINT(19) | NO | PRI | |
|
|
|
+ role_name | VARCHAR(100) | YES | | | 角色名称
|
|
|
+ role_sign | VARCHAR(100) | YES | | | 角色标识
|
|
|
+ remark | VARCHAR(100) | YES | | | 备注
|
|
|
+ user_id_create | BIGINT(19) | YES | | | 创建用户id
|
|
|
+ gmt_create | DATETIME(19) | YES | | | 创建时间
|
|
|
+ gmt_modified | DATETIME(19) | YES | | | 创建时间
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_role_menu
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | |
|
|
|
+ role_id | BIGINT(19) | YES | | | 角色ID
|
|
|
+ menu_id | BIGINT(19) | YES | | | 菜单ID
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_task
|
|
|
+-----------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-----------------+--------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | |
|
|
|
+ cron_expression | VARCHAR(255) | YES | | | cron表达式
|
|
|
+ method_name | VARCHAR(255) | YES | | | 任务调用的方法名
|
|
|
+ is_concurrent | VARCHAR(255) | YES | | | 任务是否有状态
|
|
|
+ description | VARCHAR(255) | YES | | | 任务描述
|
|
|
+ update_by | VARCHAR(64) | YES | | | 更新者
|
|
|
+ bean_class | VARCHAR(255) | YES | | | 任务执行时调用哪个类的方法 包名+类名
|
|
|
+ create_date | DATETIME(19) | YES | | | 创建时间
|
|
|
+ job_status | VARCHAR(255) | YES | | | 任务状态
|
|
|
+ job_group | VARCHAR(255) | YES | | | 任务分组
|
|
|
+ update_date | DATETIME(19) | YES | | | 更新时间
|
|
|
+ create_by | VARCHAR(64) | YES | | | 创建者
|
|
|
+ spring_bean | VARCHAR(255) | YES | | | Spring bean
|
|
|
+ job_name | VARCHAR(255) | YES | | | 任务名
|
|
|
+-----------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_user
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ user_id | BIGINT(19) | NO | PRI | |
|
|
|
+ username | VARCHAR(50) | YES | | | 用户名
|
|
|
+ name | VARCHAR(100) | YES | | |
|
|
|
+ password | VARCHAR(50) | YES | | | 密码
|
|
|
+ dept_id | BIGINT(19) | YES | | |
|
|
|
+ email | VARCHAR(100) | YES | | | 邮箱
|
|
|
+ mobile | VARCHAR(100) | YES | | | 手机号
|
|
|
+ status | TINYINT(3) | YES | | | 状态 0:禁用,1:正常
|
|
|
+ user_id_create | BIGINT(19) | YES | | | 创建用户id
|
|
|
+ gmt_create | DATETIME(19) | YES | | | 创建时间
|
|
|
+ gmt_modified | DATETIME(19) | YES | | | 修改时间
|
|
|
+ sex | BIGINT(19) | YES | | | 性别
|
|
|
+ birth | DATETIME(19) | YES | | | 出身日期
|
|
|
+ pic_id | BIGINT(19) | YES | | |
|
|
|
+ live_address | VARCHAR(500) | YES | | | 现居住地
|
|
|
+ hobby | VARCHAR(255) | YES | | | 爱好
|
|
|
+ province | VARCHAR(255) | YES | | | 省份
|
|
|
+ city | VARCHAR(255) | YES | | | 所在城市
|
|
|
+ district | VARCHAR(255) | YES | | | 所在地区
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_user_plus
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | |
|
|
|
+ user_id | BIGINT(19) | NO | | |
|
|
|
+ payment | DOUBLE(22) | YES | | |
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: sys_user_role
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+ id | BIGINT(19) | NO | PRI | |
|
|
|
+ user_id | BIGINT(19) | YES | | | 用户ID
|
|
|
+ role_id | BIGINT(19) | YES | | | 角色ID
|
|
|
+---------+------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: t_order
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | | 主键
|
|
|
+ code | VARCHAR(64) | YES | | | 订单名称
|
|
|
+ certificate_no | VARCHAR(32) | YES | | | 证书编号
|
|
|
+ gain_time | DATETIME(19) | YES | | | 获取证日期
|
|
|
+ certificateImageb | VARCHAR(500) | YES | | | 证书反面
|
|
|
+ certificateImagea | VARCHAR(500) | YES | | | 证书正面
|
|
|
+ customer_id | VARCHAR(32) | YES | | | 对应的购买者id
|
|
|
+ total_price | DECIMAL(16,2) | YES | | | 总价格
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 2 | 状态:3、农户已经收到钱;2、待支付;1、已支付;0、未购;
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+ trans_id | VARCHAR(32) | YES | | | 微信支付订单号
|
|
|
+ payment_date | DATETIME(19) | YES | | | 支付完成时间
|
|
|
+-------------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: t_tree
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | | 主键
|
|
|
+ name | VARCHAR(32) | YES | | | 名称
|
|
|
+ price | DECIMAL(16,2) | YES | | | 价格
|
|
|
+ diameter | VARCHAR(16) | YES | | | 直径(树的胸径)
|
|
|
+ code | VARCHAR(100) | YES | | | 编码
|
|
|
+ tree_type_id | VARCHAR(32) | YES | | | 关联树类别信息外键
|
|
|
+ farmer_id | VARCHAR(32) | YES | | | 关联贫困户外键
|
|
|
+ status | VARCHAR(1) | YES | | 0 | 该树的状态 0:未售 1:已售
|
|
|
+ fresh_time | DATETIME(19) | YES | | | 刷新时间
|
|
|
+ sale_count | INT(10) | YES | | 0 | 销售次数
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+ image_url | VARCHAR(500) | YES | | | 图片URL
|
|
|
+ image_url_big | VARCHAR(500) | YES | | | 近图片URL
|
|
|
+---------------+---------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: tree_organize
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+ id | CHAR(19) | NO | PRI | | 部门标识
|
|
|
+ org_code | VARCHAR(20) | YES | | | 部门编号
|
|
|
+ org_name | VARCHAR(30) | NO | | | 部门名称
|
|
|
+ parent_org_id | CHAR(19) | YES | | | 上一级部门标识
|
|
|
+ sort_no | INT(10) | YES | | 1 | 排序
|
|
|
+ state | TINYINT(3) | YES | | 1 | 是否显示 0:否 1:是
|
|
|
+ level_org | VARCHAR(100) | YES | | | 部门等级串
|
|
|
+ the_area | CHAR(10) | YES | | 1 | 所属地区
|
|
|
+ note | VARCHAR(255) | YES | | | 备注
|
|
|
+ in_date | DATETIME(19) | YES | | | 添加时间
|
|
|
+---------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: tree_type
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | |
|
|
|
+ name | VARCHAR(255) | YES | | |
|
|
|
+ type_desc | TEXT(65535) | YES | | | 该树的详情介绍
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+-------------+--------------+------+-----+---------+---------
|
|
|
+
|
|
|
+Table: tree_village_info
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ Field | Type | Null | Key | Default | Remarks
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+ id | VARCHAR(32) | NO | PRI | | 主键
|
|
|
+ village_name | VARCHAR(32) | NO | | | 所属村-名称
|
|
|
+ village_addree | VARCHAR(255) | YES | | | 村详细地址
|
|
|
+ village_desc | TEXT(65535) | YES | | | 村描述
|
|
|
+ city_id | VARCHAR(32) | YES | | | 市、州ID
|
|
|
+ county_id | VARCHAR(32) | YES | | | 区、县ID
|
|
|
+ town_id | VARCHAR(32) | YES | | | 乡、镇ID
|
|
|
+ village_id | VARCHAR(32) | NO | | | 村id
|
|
|
+ village_image | TEXT(65535) | YES | | |
|
|
|
+ ENABLE | INT(10) | NO | | 1 | 是否启用 0:禁用 1:启用
|
|
|
+ IS_DEL | INT(10) | NO | | 0 | 是否删除 0:未删除 1:已删除
|
|
|
+ CREATE_ID | VARCHAR(32) | YES | | | 创建人
|
|
|
+ CREATE_DATE | DATETIME(19) | YES | | | 创建时间
|
|
|
+ UPDATE_ID | VARCHAR(32) | YES | | | 修改人
|
|
|
+ UPDATE_DATE | DATETIME(19) | YES | | | 修改时间
|
|
|
+----------------+--------------+------+-----+---------+---------
|
|
|
+
|