/*
 Navicat Premium Data Transfer

 Source Server         : 127.0.0.1
 Source Server Type    : MySQL
 Source Server Version : 50743
 Source Host           : 127.0.0.1:3309
 Source Schema         : zero_v5

 Target Server Type    : MySQL
 Target Server Version : 50743
 File Encoding         : 65001

 Date: 10/07/2025 00:07:09
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for wform_applybanquet
-- ----------------------------
DROP TABLE IF EXISTS `wform_applybanquet`;
CREATE TABLE `wform_applybanquet`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人员',
  `F_Position` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属职务',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_BanquetNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '宴请人数',
  `F_BanquetPeople` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '宴请人员',
  `F_Total` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '人员总数',
  `F_Place` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '宴请地点',
  `F_ExpectedCost` decimal(18, 2) NULL DEFAULT NULL COMMENT '预计费用',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '宴请申请' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_applybanquet
-- ----------------------------

-- ----------------------------
-- Table structure for wform_applydelivergoods
-- ----------------------------
DROP TABLE IF EXISTS `wform_applydelivergoods`;
CREATE TABLE `wform_applydelivergoods`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_CustomerName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户名称',
  `F_Contacts` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `F_ContactPhone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `F_CustomerAddres` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户地址',
  `F_GoodsBelonged` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '货品所属',
  `F_InvoiceDate` datetime NULL DEFAULT NULL COMMENT '发货日期',
  `F_FreightCompany` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '货运公司',
  `F_DeliveryType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发货类型',
  `F_RransportNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '货运单号',
  `F_FreightCharges` decimal(18, 2) NULL DEFAULT NULL COMMENT '货运费',
  `F_CargoInsurance` decimal(18, 2) NULL DEFAULT NULL COMMENT '保险金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_InvoiceValue` decimal(18, 2) NULL DEFAULT NULL COMMENT '发货金额',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发货申请单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_applydelivergoods
-- ----------------------------

-- ----------------------------
-- Table structure for wform_applydelivergoodsentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_applydelivergoodsentry`;
CREATE TABLE `wform_applydelivergoodsentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_InvoiceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发货主键',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序码',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发货明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_applydelivergoodsentry
-- ----------------------------

-- ----------------------------
-- Table structure for wform_applymeeting
-- ----------------------------
DROP TABLE IF EXISTS `wform_applymeeting`;
CREATE TABLE `wform_applymeeting`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Position` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属职务',
  `F_ConferenceName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会议名称',
  `F_ConferenceTheme` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会议主题',
  `F_ConferenceType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会议类型',
  `F_EstimatePeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预计人数',
  `F_ConferenceRoom` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会议室',
  `F_Administrator` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '管理人',
  `F_LookPeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '查看人',
  `F_Memo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纪要员',
  `F_Attendees` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出席人',
  `F_ApplyMaterial` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请材料',
  `F_EstimatedAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '预计金额',
  `F_OtherAttendee` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '其他出席人',
  `F_StartDate` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndDate` datetime NULL DEFAULT NULL COMMENT '结束时间',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Describe` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '会议描述',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '会议申请' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_applymeeting
-- ----------------------------

-- ----------------------------
-- Table structure for wform_archivalborrow
-- ----------------------------
DROP TABLE IF EXISTS `wform_archivalborrow`;
CREATE TABLE `wform_archivalborrow`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_BorrowingDepartment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '借阅部门',
  `F_ArchivesName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '档案名称',
  `F_ArchivalAttributes` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '档案属性',
  `F_BorrowMode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '借阅方式',
  `F_ApplyReason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '申请原因',
  `F_ArchivesId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '档案编号',
  `F_BorrowingDate` datetime NULL DEFAULT NULL COMMENT '借阅时间',
  `F_ReturnDate` datetime NULL DEFAULT NULL COMMENT '归还时间',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '档案借阅申请' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_archivalborrow
-- ----------------------------

-- ----------------------------
-- Table structure for wform_articleswarehous
-- ----------------------------
DROP TABLE IF EXISTS `wform_articleswarehous`;
CREATE TABLE `wform_articleswarehous`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  `F_Articles` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品库存',
  `F_Classification` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品分类',
  `F_ArticlesId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品编号',
  `F_Company` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位',
  `F_EstimatePeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_ApplyReasons` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '申请原因',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请时间',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用品入库申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_articleswarehous
-- ----------------------------

-- ----------------------------
-- Table structure for wform_batchpack
-- ----------------------------
DROP TABLE IF EXISTS `wform_batchpack`;
CREATE TABLE `wform_batchpack`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ProductName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品名称',
  `F_Production` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '生产车间',
  `F_Compactor` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编制人员',
  `F_CompactorDate` datetime NULL DEFAULT NULL COMMENT '编制日期',
  `F_Standard` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品规格',
  `F_WarehousNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库序号',
  `F_ProductionQuty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批产数量',
  `F_OperationDate` datetime NULL DEFAULT NULL COMMENT '操作日期',
  `F_Regulations` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '工艺规程',
  `F_Packing` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包装规格',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '批包装指令' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_batchpack
-- ----------------------------

-- ----------------------------
-- Table structure for wform_batchtable
-- ----------------------------
DROP TABLE IF EXISTS `wform_batchtable`;
CREATE TABLE `wform_batchtable`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FileTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件标题',
  `F_DraftedPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主办单位',
  `F_FillNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件编号',
  `F_SendUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发往单位',
  `F_Typing` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '打字',
  `F_WritingDate` datetime NULL DEFAULT NULL COMMENT '发文日期',
  `F_ShareNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '份数',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '行文呈批表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_batchtable
-- ----------------------------

-- ----------------------------
-- Table structure for wform_conbilling
-- ----------------------------
DROP TABLE IF EXISTS `wform_conbilling`;
CREATE TABLE `wform_conbilling`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_Drawer` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开票人',
  `F_BillDate` datetime NULL DEFAULT NULL COMMENT '开票日期',
  `F_CompanyName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司名称',
  `F_ConName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联名称',
  `F_Bank` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户银行',
  `F_Amount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户账号',
  `F_BillAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `F_TaxId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '税号',
  `F_InvoiceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发票号',
  `F_InvoAddress` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发票地址',
  `F_PayAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '付款金额',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '合同开票流程' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_conbilling
-- ----------------------------

-- ----------------------------
-- Table structure for wform_contractapproval
-- ----------------------------
DROP TABLE IF EXISTS `wform_contractapproval`;
CREATE TABLE `wform_contractapproval`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FirstPartyUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '甲方单位',
  `F_SecondPartyUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '乙方单位',
  `F_FirstPartyPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '甲方负责人',
  `F_SecondPartyPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '乙方负责人',
  `F_FirstPartyContact` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '甲方联系方式',
  `F_SecondPartyContact` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '乙方联系方式',
  `F_ContractName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同名称',
  `F_ContractClass` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同分类',
  `F_ContractType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同类型',
  `F_ContractId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同编号',
  `F_BusinessPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务人员',
  `F_IncomeAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '收入金额',
  `F_InputPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '填写人员',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_PrimaryCoverage` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '主要内容',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SigningDate` datetime NULL DEFAULT NULL COMMENT '签约时间',
  `F_StartDate` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndDate` datetime NULL DEFAULT NULL COMMENT '结束时间',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '合同审批' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_contractapproval
-- ----------------------------

-- ----------------------------
-- Table structure for wform_contractapprovalsheet
-- ----------------------------
DROP TABLE IF EXISTS `wform_contractapprovalsheet`;
CREATE TABLE `wform_contractapprovalsheet`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_ContractId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '编号支出',
  `F_ContractNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同号',
  `F_FirstParty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签署方(甲方)',
  `F_SecondParty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '乙方',
  `F_ContractName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同名称',
  `F_ContractType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同类型',
  `F_PersonCharge` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合作负责人',
  `F_LeadDepartment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  `F_SignArea` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签订地区',
  `F_IncomeAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '收入金额',
  `F_TotalExpenditure` decimal(18, 2) NULL DEFAULT NULL COMMENT '支出总额',
  `F_ContractPeriod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同期限',
  `F_PaymentMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '付款方式',
  `F_BudgetaryApproval` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预算批付',
  `F_StartContractDate` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndContractDate` datetime NULL DEFAULT NULL,
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_ContractContent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容简要',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '合同申请单表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_contractapprovalsheet
-- ----------------------------

-- ----------------------------
-- Table structure for wform_debitbill
-- ----------------------------
DROP TABLE IF EXISTS `wform_debitbill`;
CREATE TABLE `wform_debitbill`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_Departmental` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '工作部门',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_StaffName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工姓名',
  `F_StaffPost` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工职务',
  `F_StaffId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工编号',
  `F_LoanMode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '借款方式',
  `F_AmountDebit` decimal(18, 2) NULL DEFAULT NULL COMMENT '借支金额',
  `F_TransferAccount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '转账账户',
  `F_RepaymentBill` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '还款票据',
  `F_TeachingDate` datetime NULL DEFAULT NULL COMMENT '还款日期',
  `F_PaymentMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付方式',
  `F_Reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '借款原因',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '借支单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_debitbill
-- ----------------------------

-- ----------------------------
-- Table structure for wform_documentapproval
-- ----------------------------
DROP TABLE IF EXISTS `wform_documentapproval`;
CREATE TABLE `wform_documentapproval`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FileName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名称',
  `F_DraftedPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '拟稿人',
  `F_ServiceUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发文单位',
  `F_FillPreparation` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件拟办',
  `F_FillNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件编号',
  `F_ReceiptDate` datetime NULL DEFAULT NULL COMMENT '收文日期',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_ModifyOpinion` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '修改意见',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文件签批意见表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_documentapproval
-- ----------------------------

-- ----------------------------
-- Table structure for wform_documentsigning
-- ----------------------------
DROP TABLE IF EXISTS `wform_documentsigning`;
CREATE TABLE `wform_documentsigning`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FileName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名称',
  `F_FillNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件编号',
  `F_DraftedPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '拟稿人',
  `F_Reader` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签阅人',
  `F_FillPreparation` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件拟办',
  `F_CheckDate` datetime NULL DEFAULT NULL COMMENT '签阅时间',
  `F_PublicationDate` datetime NULL DEFAULT NULL COMMENT '发稿日期',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_DocumentContent` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文件内容',
  `F_AdviceColumn` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '建议栏',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文件签阅表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_documentsigning
-- ----------------------------

-- ----------------------------
-- Table structure for wform_expenseexpenditure
-- ----------------------------
DROP TABLE IF EXISTS `wform_expenseexpenditure`;
CREATE TABLE `wform_expenseexpenditure`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '流程等级',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人员',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在部门',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_ContractNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同编号',
  `F_NonContract` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '非合同支出',
  `F_AccountOpeningBank` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户银行',
  `F_BankAccount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行账号',
  `F_OpenAccount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户姓名',
  `F_Total` decimal(18, 2) NULL DEFAULT NULL COMMENT '合计费用',
  `F_PaymentMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付方式',
  `F_AmountPayment` decimal(18, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '费用支出单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_expenseexpenditure
-- ----------------------------

-- ----------------------------
-- Table structure for wform_finishedproduct
-- ----------------------------
DROP TABLE IF EXISTS `wform_finishedproduct`;
CREATE TABLE `wform_finishedproduct`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_WarehouseName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库人',
  `F_Warehouse` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '仓库',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_ReservoirDate` datetime NULL DEFAULT NULL COMMENT '入库时间',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '成品入库单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_finishedproduct
-- ----------------------------

-- ----------------------------
-- Table structure for wform_finishedproductentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_finishedproductentry`;
CREATE TABLE `wform_finishedproductentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_WarehouseId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库单号',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序号',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '成品入库单明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_finishedproductentry
-- ----------------------------

-- ----------------------------
-- Table structure for wform_incomerecognition
-- ----------------------------
DROP TABLE IF EXISTS `wform_incomerecognition`;
CREATE TABLE `wform_incomerecognition`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主题',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_SettlementMonth` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结算月份',
  `F_CustomerName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户名称',
  `F_ContractNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合同编号',
  `F_TotalAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '合同金额',
  `F_MoneyBank` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '到款银行',
  `F_ActualAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '到款金额',
  `F_ContactName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系人姓名',
  `F_ContacPhone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `F_ContactQQ` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系QQ',
  `F_UnpaidAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '未付金额',
  `F_AmountPaid` decimal(18, 2) NULL DEFAULT NULL COMMENT '已付金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_PaymentDate` datetime NULL DEFAULT NULL COMMENT '到款日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '收入确认分析表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_incomerecognition
-- ----------------------------

-- ----------------------------
-- Table structure for wform_leaveapply
-- ----------------------------
DROP TABLE IF EXISTS `wform_leaveapply`;
CREATE TABLE `wform_leaveapply`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单据编号',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人员',
  `F_ApplyDept` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_ApplyPost` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请职位',
  `F_LeaveType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请假类别',
  `F_LeaveReason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '请假原因',
  `F_LeaveDayCount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请假天数',
  `F_LeaveHour` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请假小时',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_LeaveStartTime` datetime NULL DEFAULT NULL COMMENT '请假时间',
  `F_LeaveEndTime` datetime NULL DEFAULT NULL COMMENT '结束时间',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程表单【请假申请】' ROW_FORMAT = DYNAMIC;


-- ----------------------------
-- Table structure for wform_letterservice
-- ----------------------------
DROP TABLE IF EXISTS `wform_letterservice`;
CREATE TABLE `wform_letterservice`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_HostUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主办单位',
  `F_Title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发文标题',
  `F_IssuedNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发文字号',
  `F_WritingDate` datetime NULL DEFAULT NULL COMMENT '发文日期',
  `F_ShareNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '份数',
  `F_MainDelivery` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主送',
  `F_Copy` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '抄送',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发文单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_letterservice
-- ----------------------------

-- ----------------------------
-- Table structure for wform_materialrequisition
-- ----------------------------
DROP TABLE IF EXISTS `wform_materialrequisition`;
CREATE TABLE `wform_materialrequisition`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_LeadPeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '领料人',
  `F_LeadDepartment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '领料部门',
  `F_LeadDate` datetime NULL DEFAULT NULL COMMENT '领料日期',
  `F_Warehouse` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '仓库',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '领料单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_materialrequisition
-- ----------------------------

-- ----------------------------
-- Table structure for wform_materialrequisitionentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_materialrequisitionentry`;
CREATE TABLE `wform_materialrequisitionentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_LeadeId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '领料主键',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位',
  `F_MaterialDemand` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '需数量',
  `F_Proportioning` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序码',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '领料明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_materialrequisitionentry
-- ----------------------------

-- ----------------------------
-- Table structure for wform_monthlyreport
-- ----------------------------
DROP TABLE IF EXISTS `wform_monthlyreport`;
CREATE TABLE `wform_monthlyreport`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '创建日期',
  `F_ApplyDept` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  `F_ApplyPost` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属职务',
  `F_PlanEndTime` datetime NULL DEFAULT NULL COMMENT '完成时间',
  `F_OveralEvaluat` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '总体评价',
  `F_NPWorkMatter` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '工作事项',
  `F_NPFinishTime` datetime NULL DEFAULT NULL COMMENT '次月日期',
  `F_NFinishMethod` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '次月目标',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '月工作总结' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_monthlyreport
-- ----------------------------

-- ----------------------------
-- Table structure for wform_officesupplies
-- ----------------------------
DROP TABLE IF EXISTS `wform_officesupplies`;
CREATE TABLE `wform_officesupplies`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  `F_UseStock` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '领用仓库',
  `F_Classification` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品分类',
  `F_ArticlesName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品名称',
  `F_ArticlesNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品数量',
  `F_ArticlesId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用品编号',
  `F_ApplyReasons` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '申请原因',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请时间',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '领用办公用品申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_officesupplies
-- ----------------------------

-- ----------------------------
-- Table structure for wform_outboundorder
-- ----------------------------
DROP TABLE IF EXISTS `wform_outboundorder`;
CREATE TABLE `wform_outboundorder`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_CustomerName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户名称',
  `F_Warehouse` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '仓库',
  `F_OutStorage` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '仓库人',
  `F_BusinessPeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务人员',
  `F_BusinessType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务类型',
  `F_OutboundDate` datetime NULL DEFAULT NULL COMMENT '出库日期',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '出库单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_outboundorder
-- ----------------------------
INSERT INTO `wform_outboundorder` VALUES ('515882552339203845', NULL, NULL, NULL, NULL, '242432', NULL, NULL, NULL, NULL, '2024-01-13 15:53:01', NULL, '0', '469438267117336517');

-- ----------------------------
-- Table structure for wform_outboundorderentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_outboundorderentry`;
CREATE TABLE `wform_outboundorderentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_OutboundId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出库单号',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序码',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '出库单明细' ROW_FORMAT = DYNAMIC;


-- ----------------------------
-- Table structure for wform_outgoingapply
-- ----------------------------
DROP TABLE IF EXISTS `wform_outgoingapply`;
CREATE TABLE `wform_outgoingapply`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在部门',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_OutgoingTotle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '外出总计',
  `F_StartTime` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndTime` datetime NULL DEFAULT NULL COMMENT '结束时间',
  `F_Destination` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目的地',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_OutgoingCause` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '外出事由',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '外出申请单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_outgoingapply
-- ----------------------------

-- ----------------------------
-- Table structure for wform_paydistribution
-- ----------------------------
DROP TABLE IF EXISTS `wform_paydistribution`;
CREATE TABLE `wform_paydistribution`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_Month` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属月份',
  `F_IssuingUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发放单位',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工部门',
  `F_Position` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工职位',
  `F_BaseSalary` decimal(18, 2) NULL DEFAULT NULL COMMENT '基本薪资',
  `F_ActualAttendance` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出勤天数',
  `F_Allowance` decimal(18, 2) NULL DEFAULT NULL COMMENT '员工津贴',
  `F_IncomeTax` decimal(18, 2) NULL DEFAULT NULL COMMENT '所得税',
  `F_Insurance` decimal(18, 2) NULL DEFAULT NULL COMMENT '员工保险',
  `F_Performance` decimal(18, 2) NULL DEFAULT NULL COMMENT '员工绩效',
  `F_OvertimePay` decimal(18, 2) NULL DEFAULT NULL COMMENT '加班费用',
  `F_GrossPay` decimal(18, 2) NULL DEFAULT NULL COMMENT '应发工资',
  `F_Payroll` decimal(18, 2) NULL DEFAULT NULL COMMENT '实发工资',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '薪酬发放' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_paydistribution
-- ----------------------------

-- ----------------------------
-- Table structure for wform_paymentapply
-- ----------------------------
DROP TABLE IF EXISTS `wform_paymentapply`;
CREATE TABLE `wform_paymentapply`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Departmental` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_PurposeName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用途名称',
  `F_ProjectCategory` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目类别',
  `F_ProjectLeader` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目负责人',
  `F_OpeningBank` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开户银行',
  `F_BeneficiaryAccount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '收款账号',
  `F_ReceivableContact` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  `F_PaymentUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '付款单位',
  `F_ApplyAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '申请金额',
  `F_SettlementMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结算方式',
  `F_PaymentType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '付款类型',
  `F_AmountPaid` decimal(18, 2) NULL DEFAULT NULL COMMENT '付款金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '付款申请单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_paymentapply
-- ----------------------------

-- ----------------------------
-- Table structure for wform_postbatchtab
-- ----------------------------
DROP TABLE IF EXISTS `wform_postbatchtab`;
CREATE TABLE `wform_postbatchtab`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FileTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件标题',
  `F_DraftedPerson` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主办单位',
  `F_SendUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发往单位',
  `F_WritingNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发文编号',
  `F_WritingDate` datetime NULL DEFAULT NULL COMMENT '发文日期',
  `F_ShareNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '份数',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '发文呈批表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_postbatchtab
-- ----------------------------

-- ----------------------------
-- Table structure for wform_procurementmaterial
-- ----------------------------
DROP TABLE IF EXISTS `wform_procurementmaterial`;
CREATE TABLE `wform_procurementmaterial`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Departmental` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_PurchaseUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '采购单位',
  `F_DeliveryMode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '送货方式',
  `F_DeliveryAddress` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '送货地址',
  `F_PaymentMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '付款方式',
  `F_PaymentMoney` decimal(18, 2) NULL DEFAULT NULL COMMENT '付款金额',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '用途原因',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '采购原材料' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_procurementmaterial
-- ----------------------------

-- ----------------------------
-- Table structure for wform_procurementmaterialentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_procurementmaterialentry`;
CREATE TABLE `wform_procurementmaterialentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_ProcurementId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '采购主键',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序码',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '采购明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_procurementmaterialentry
-- ----------------------------

-- ----------------------------
-- Table structure for wform_purchaselist
-- ----------------------------
DROP TABLE IF EXISTS `wform_purchaselist`;
CREATE TABLE `wform_purchaselist`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Departmental` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在部门',
  `F_VendorName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '供应商名称',
  `F_Buyer` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '采购人员',
  `F_PurchaseDate` datetime NULL DEFAULT NULL COMMENT '采购日期',
  `F_Warehouse` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '仓库',
  `F_Telephone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  `F_PaymentMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付方式',
  `F_PaymentMoney` decimal(18, 2) NULL DEFAULT NULL COMMENT '支付总额',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '用途原因',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '日常物品采购清单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wform_purchaselistentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_purchaselistentry`;
CREATE TABLE `wform_purchaselistentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_PurchaseId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '采购主键',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序码',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '日常物品采购清单' ROW_FORMAT = DYNAMIC;


-- ----------------------------
-- Table structure for wform_quotationapproval
-- ----------------------------
DROP TABLE IF EXISTS `wform_quotationapproval`;
CREATE TABLE `wform_quotationapproval`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '流程等级',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_Writer` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '填报人',
  `F_WriteDate` datetime NULL DEFAULT NULL COMMENT '填表日期',
  `F_CustomerName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户名称',
  `F_QuotationType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型',
  `F_PartnerName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合作人名',
  `F_StandardFile` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模板参考',
  `F_CustSituation` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '情况描述',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '报价类型',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '报价审批表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_quotationapproval
-- ----------------------------

-- ----------------------------
-- Table structure for wform_receiptprocessing
-- ----------------------------
DROP TABLE IF EXISTS `wform_receiptprocessing`;
CREATE TABLE `wform_receiptprocessing`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FileTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件标题',
  `F_CommunicationUnit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '来文单位',
  `F_LetterNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '来文字号',
  `F_ReceiptDate` datetime NULL DEFAULT NULL COMMENT '收文日期',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '收文处理表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_receiptprocessing
-- ----------------------------

-- ----------------------------
-- Table structure for wform_receiptsign
-- ----------------------------
DROP TABLE IF EXISTS `wform_receiptsign`;
CREATE TABLE `wform_receiptsign`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ReceiptTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '收文标题',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '收文部门',
  `F_Collector` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '收文人',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_ReceiptPaper` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '收文简述',
  `F_ReceiptDate` datetime NULL DEFAULT NULL COMMENT '收文日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '收文签呈单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_receiptsign
-- ----------------------------

-- ----------------------------
-- Table structure for wform_rewardpunishment
-- ----------------------------
DROP TABLE IF EXISTS `wform_rewardpunishment`;
CREATE TABLE `wform_rewardpunishment`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FullName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工姓名',
  `F_FillFromDate` datetime NULL DEFAULT NULL COMMENT '填表日期',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工部门',
  `F_Position` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工职位',
  `F_RewardPun` decimal(18, 2) NULL DEFAULT NULL COMMENT '赏罚金额',
  `F_Reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '赏罚原因',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '行政赏罚单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_rewardpunishment
-- ----------------------------

-- ----------------------------
-- Table structure for wform_salesorder
-- ----------------------------
DROP TABLE IF EXISTS `wform_salesorder`;
CREATE TABLE `wform_salesorder`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '流程等级',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_Salesman` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务人员',
  `F_CustomerName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户名称',
  `F_Contacts` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `F_ContactPhone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `F_CustomerAddres` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '客户地址',
  `F_TicketNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发票编号',
  `F_InvoiceType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发票类型',
  `F_PaymentMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '付款方式',
  `F_PaymentMoney` decimal(18, 2) NULL DEFAULT NULL COMMENT '付款金额',
  `F_SalesDate` datetime NULL DEFAULT NULL COMMENT '销售日期',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `F_TicketDate` datetime NULL DEFAULT NULL COMMENT '开票日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '销售订单' ROW_FORMAT = DYNAMIC;


-- ----------------------------
-- Table structure for wform_salesorderentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_salesorderentry`;
CREATE TABLE `wform_salesorderentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_SalesOrderId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '订单主键',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '描述',
  `F_SortCode` bigint(20) NULL DEFAULT NULL,
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '销售订单明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wform_salessupport
-- ----------------------------
DROP TABLE IF EXISTS `wform_salessupport`;
CREATE TABLE `wform_salessupport`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_ApplyDept` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_Customer` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '相关客户',
  `F_Project` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '相关项目',
  `F_PSaleSupInfo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '售前支持',
  `F_StartDate` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndDate` datetime NULL DEFAULT NULL COMMENT '结束日期',
  `F_PSaleSupDays` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支持天数',
  `F_PSalePreDays` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '准备天数',
  `F_ConsulManager` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '机构咨询',
  `F_PSalSupConsul` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '售前顾问',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `F_SalSupConclu` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '销售总结',
  `F_ConsultResult` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '交付说明',
  `F_IEvaluation` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '咨询评价',
  `F_Conclusion` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '发起人总结',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '销售支持表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_salessupport
-- ----------------------------

-- ----------------------------
-- Table structure for wform_staffovertime
-- ----------------------------
DROP TABLE IF EXISTS `wform_staffovertime`;
CREATE TABLE `wform_staffovertime`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_TotleTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '总计时间',
  `F_StartTime` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndTime` datetime NULL DEFAULT NULL COMMENT '结束时间',
  `F_Category` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '记入类别',
  `F_Cause` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '加班事由',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工加班申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_staffovertime
-- ----------------------------

-- ----------------------------
-- Table structure for wform_supplementcard
-- ----------------------------
DROP TABLE IF EXISTS `wform_supplementcard`;
CREATE TABLE `wform_supplementcard`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_FullName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工姓名',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在部门',
  `F_Position` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在职务',
  `F_Witness` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '证明人',
  `F_SupplementNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '补卡次数',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_StartTime` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `F_EndTime` datetime NULL DEFAULT NULL COMMENT '结束日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '补卡申请' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_supplementcard
-- ----------------------------

-- ----------------------------
-- Table structure for wform_travelapply
-- ----------------------------
DROP TABLE IF EXISTS `wform_travelapply`;
CREATE TABLE `wform_travelapply`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_TravelMan` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出差人',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请日期',
  `F_Departmental` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属部门',
  `F_Position` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属职务',
  `F_StartDate` datetime NULL DEFAULT NULL COMMENT '开始日期',
  `F_EndDate` datetime NULL DEFAULT NULL COMMENT '结束日期',
  `F_StartPlace` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '起始地点',
  `F_Destination` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目的地',
  `F_PrepaidTravel` decimal(18, 2) NULL DEFAULT NULL COMMENT '预支旅费',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '出差预支申请单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_travelapply
-- ----------------------------

-- ----------------------------
-- Table structure for wform_travelreimbursement
-- ----------------------------
DROP TABLE IF EXISTS `wform_travelreimbursement`;
CREATE TABLE `wform_travelreimbursement`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '流程等级',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_ApplyUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `F_Departmental` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请部门',
  `F_BillsNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '票据数',
  `F_BusinessMission` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '出差任务',
  `F_SetOutDate` datetime NULL DEFAULT NULL COMMENT '出发日期',
  `F_ReturnDate` datetime NULL DEFAULT NULL COMMENT '回归日期',
  `F_Destination` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '到达地',
  `F_PlaneTicket` decimal(18, 2) NULL DEFAULT NULL COMMENT '机票费',
  `F_Fare` decimal(18, 2) NULL DEFAULT NULL COMMENT '车船费',
  `F_GetAccommodation` decimal(18, 2) NULL DEFAULT NULL COMMENT '住宿费用',
  `F_TravelAllowance` decimal(18, 2) NULL DEFAULT NULL COMMENT '出差补助',
  `F_Other` decimal(18, 2) NULL DEFAULT NULL COMMENT '其他费用',
  `F_Total` decimal(18, 2) NULL DEFAULT NULL COMMENT '合计',
  `F_ReimbursementAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '报销金额',
  `F_LoanAmount` decimal(18, 2) NULL DEFAULT NULL COMMENT '借款金额',
  `F_SumOfMoney` decimal(18, 2) NULL DEFAULT NULL COMMENT '补找金额',
  `F_TravelerUser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `F_VehicleMileage` decimal(18, 2) NULL DEFAULT NULL COMMENT '车辆里程',
  `F_RoadFee` decimal(18, 2) NULL DEFAULT NULL COMMENT '过路费',
  `F_ParkingRate` decimal(18, 2) NULL DEFAULT NULL COMMENT '停车费',
  `F_MealAllowance` decimal(18, 2) NULL DEFAULT NULL COMMENT '餐补费用',
  `F_BreakdownFee` decimal(18, 2) NULL DEFAULT NULL COMMENT '故障报修费',
  `F_ReimbursementId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '报销编号',
  `F_RailTransit` decimal(18, 2) NULL DEFAULT NULL COMMENT '轨道交通费',
  `F_ApplyDate` datetime NULL DEFAULT NULL COMMENT '申请时间',
  `f_versions` int(11) NULL DEFAULT NULL COMMENT '乐观锁',
  `f_flowtaskid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程任务主键',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '差旅报销申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_travelreimbursement
-- ----------------------------

-- ----------------------------
-- Table structure for wform_vehicleapply
-- ----------------------------
DROP TABLE IF EXISTS `wform_vehicleapply`;
CREATE TABLE `wform_vehicleapply`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_CarMan` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用车人',
  `F_Department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所在部门',
  `F_PlateNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '车牌号',
  `F_Destination` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目的地',
  `F_RoadFee` decimal(18, 2) NULL DEFAULT NULL COMMENT '路费金额',
  `F_KilometreNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公里数',
  `F_Entourage` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '随行人数',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_StartDate` datetime NULL DEFAULT NULL COMMENT '开始日期',
  `F_EndDate` datetime NULL DEFAULT NULL COMMENT '结束日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '车辆申请' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_vehicleapply
-- ----------------------------

-- ----------------------------
-- Table structure for wform_violationhandling
-- ----------------------------
DROP TABLE IF EXISTS `wform_violationhandling`;
CREATE TABLE `wform_violationhandling`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_PlateNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '车牌号',
  `F_Driver` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '驾驶人',
  `F_LeadingOfficial` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '负责人',
  `F_ViolationSite` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '违章地点',
  `F_ViolationBehavior` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '违章行为',
  `F_Deduction` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '违章扣分',
  `F_AmountMoney` decimal(18, 2) NULL DEFAULT NULL COMMENT '违章罚款',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_NoticeDate` datetime NULL DEFAULT NULL COMMENT '通知日期',
  `F_PeccancyDate` datetime NULL DEFAULT NULL COMMENT '违章日期',
  `F_LimitDate` datetime NULL DEFAULT NULL COMMENT '限处理日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '违章处理申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_violationhandling
-- ----------------------------

-- ----------------------------
-- Table structure for wform_warehousereceipt
-- ----------------------------
DROP TABLE IF EXISTS `wform_warehousereceipt`;
CREATE TABLE `wform_warehousereceipt`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_SupplierName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '供应商名称',
  `F_ContactPhone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `F_WarehousCategory` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库类别',
  `F_Warehouse` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '仓库',
  `F_WarehousesPeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库人',
  `F_DeliveryNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '送货单号',
  `F_WarehouseNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库单号',
  `F_WarehousDate` datetime NULL DEFAULT NULL COMMENT '入库日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '入库申请单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_warehousereceipt
-- ----------------------------

-- ----------------------------
-- Table structure for wform_warehousereceiptentry
-- ----------------------------
DROP TABLE IF EXISTS `wform_warehousereceiptentry`;
CREATE TABLE `wform_warehousereceiptentry`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_WarehouseId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '入库主键',
  `F_GoodsName` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品名称',
  `F_Specifications` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `F_Unit` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '单位',
  `F_Qty` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数量',
  `F_Price` decimal(18, 2) NULL DEFAULT NULL COMMENT '单价',
  `F_Amount` decimal(18, 2) NULL DEFAULT NULL COMMENT '金额',
  `F_Description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `F_SortCode` bigint(20) NULL DEFAULT NULL COMMENT '排序码',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '出库单明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_warehousereceiptentry
-- ----------------------------

-- ----------------------------
-- Table structure for wform_workcontactsheet
-- ----------------------------
DROP TABLE IF EXISTS `wform_workcontactsheet`;
CREATE TABLE `wform_workcontactsheet`  (
  `F_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `F_FlowId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程主键',
  `F_FlowTitle` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程标题',
  `F_FlowUrgent` int(11) NULL DEFAULT NULL COMMENT '紧急程度',
  `F_BillNo` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程单据',
  `F_DrawPeople` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发件人',
  `F_IssuingDepartment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发件部门',
  `F_ServiceDepartment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '收件部门',
  `F_Recipients` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '收件人',
  `F_Coordination` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '协调事项',
  `F_FileJson` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '相关附件',
  `F_ToDate` datetime NULL DEFAULT NULL COMMENT '发件日期',
  `F_CollectionDate` datetime NULL DEFAULT NULL COMMENT '收件日期',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  PRIMARY KEY (`F_Id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工作联系单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_workcontactsheet
-- ----------------------------

-- ----------------------------
-- Table structure for wform_zjf_wikxqi
-- ----------------------------
DROP TABLE IF EXISTS `wform_zjf_wikxqi`;
CREATE TABLE `wform_zjf_wikxqi`  (
  `userSelectField101` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户选择',
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '主表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wform_zjf_wikxqi
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_candidates
-- ----------------------------
DROP TABLE IF EXISTS `workflow_candidates`;
CREATE TABLE `workflow_candidates`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `f_node_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点编码',
  `f_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务id',
  `f_handle_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审批人id',
  `f_account` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审批人账号',
  `f_candidates` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '候选人',
  `f_operator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经办主键',
  `f_type` int(11) NULL DEFAULT NULL COMMENT '审批类型(1-候选人 2-异常处理人)',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程候选人/异常处理人' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_candidates
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_circulate
-- ----------------------------
DROP TABLE IF EXISTS `workflow_circulate`;
CREATE TABLE `workflow_circulate`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `f_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '抄送人员',
  `f_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务主键',
  `f_node_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点编号',
  `f_node_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点名称',
  `f_node_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点主键',
  `f_operator_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经办主键',
  `f_read` int(11) NULL DEFAULT NULL COMMENT '是否已读',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程抄送' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_circulate
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_comment
-- ----------------------------
DROP TABLE IF EXISTS `workflow_comment`;
CREATE TABLE `workflow_comment`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `f_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务主键',
  `f_reply_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复评论id',
  `f_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文本',
  `f_image` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '图片',
  `f_file` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '附件',
  `f_delete_show` int(11) NULL DEFAULT NULL COMMENT '评论删除显示',
  `f_enabled_mark` int(11) NULL DEFAULT NULL COMMENT '有效标志',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程评论' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_comment
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_common
-- ----------------------------
DROP TABLE IF EXISTS `workflow_common`;
CREATE TABLE `workflow_common`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `f_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型 web、app',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程版本id',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '常用流程' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_common
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_delegate
-- ----------------------------
DROP TABLE IF EXISTS `workflow_delegate`;
CREATE TABLE `workflow_delegate`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '自然主键',
  `f_flow_id` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '委托流程（为空是全部流程）',
  `f_flow_name` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '委托流程名称',
  `f_start_time` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `f_end_time` datetime NULL DEFAULT NULL COMMENT '结束时间',
  `f_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '委托人',
  `f_user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '委托人名称',
  `f_type` int(11) NULL DEFAULT NULL COMMENT '委托类型（0-发起委托，1-审批委托）',
  `f_description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述或说明',
  `f_enabled_mark` int(11) NULL DEFAULT NULL COMMENT '有效标志(0-禁用，1-启用)',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程委托' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_delegate
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_delegate_info
-- ----------------------------
DROP TABLE IF EXISTS `workflow_delegate_info`;
CREATE TABLE `workflow_delegate_info`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
  `f_delegate_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '委托主键',
  `f_to_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被委托人id',
  `f_to_user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '被委托人',
  `f_status` int(11) NULL DEFAULT NULL COMMENT '状态(0.待确认 1.已接受 2.已拒绝)',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '委托信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_delegate_info
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_form_relation
-- ----------------------------
DROP TABLE IF EXISTS `workflow_form_relation`;
CREATE TABLE `workflow_form_relation`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程id',
  `f_form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单id',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程表单关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_form_relation
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_launch_user
-- ----------------------------
DROP TABLE IF EXISTS `workflow_launch_user`;
CREATE TABLE `workflow_launch_user`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
  `f_organize_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '组织主键',
  `f_position_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '岗位主键',
  `f_manager_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主管主键',
  `f_superior` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '上级用户',
  `f_subordinate` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '下属用户',
  `f_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务主键',
  `f_department` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '公司下所有部门',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE,
  INDEX `i_flu_ftid`(`f_task_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程发起用户信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of workflow_launch_user
-- ----------------------------

-- ----------------------------
-- Table structure for workflow_node
-- ----------------------------
DROP TABLE IF EXISTS `workflow_node`;
CREATE TABLE `workflow_node`  (
  `f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
  `f_flow_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流程版本主键',
  `f_form_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表单主键',
  `f_node_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点类型',
  `f_node_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点编码',
  `f_node_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '节点属性',
  `f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
  `f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
  `f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
  `f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
  `f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
  `f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
  `f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '租户id',
  PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '流程节点' ROW_FORMAT = DYNAMIC;

SET FOREIGN_KEY_CHECKS = 1;