|
|
|
@ -347,3 +347,64 @@ SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
|
CALL Pro_Temp_ColumnWork('user_company_online', 'offlineStat', 'int', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udi_product', 'manuCerditCode', 'varchar(255)', 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Navicat Premium Data Transfer
|
|
|
|
|
|
|
|
|
|
Source Server : localhost
|
|
|
|
|
Source Server Type : MySQL
|
|
|
|
|
Source Server Version : 80021
|
|
|
|
|
Source Host : localhost:3306
|
|
|
|
|
Source Schema : udi_cpt3
|
|
|
|
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
|
|
Target Server Version : 80021
|
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
|
|
|
|
Date: 23/02/2024 16:23:46
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
CREATE TABLE IF NOT EXISTS `stat_corp_offline`
|
|
|
|
|
(
|
|
|
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`companyId` int NULL DEFAULT NULL COMMENT '企业ID',
|
|
|
|
|
`statDate` datetime(0) NULL DEFAULT NULL COMMENT '统计日期',
|
|
|
|
|
`statType` tinyint NULL DEFAULT NULL COMMENT '1:按日统计',
|
|
|
|
|
`createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
|
`updateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE = InnoDB
|
|
|
|
|
AUTO_INCREMENT = 1
|
|
|
|
|
CHARACTER SET = utf8mb4
|
|
|
|
|
COLLATE = utf8mb4_0900_ai_ci COMMENT = '企业每日离线汇总'
|
|
|
|
|
ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for user_company_pilot
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
CREATE TABLE IF NOT EXISTS `user_company_pilot`
|
|
|
|
|
(
|
|
|
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`companyIdFk` bigint NULL DEFAULT NULL COMMENT '试点单位已注册企业Id',
|
|
|
|
|
`companyName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '单位名称',
|
|
|
|
|
`creditNum` int NULL DEFAULT NULL COMMENT '统一社会信用代码',
|
|
|
|
|
`bussinessStatus` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业类型',
|
|
|
|
|
`spell` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '拼音简称',
|
|
|
|
|
`addr` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '地址',
|
|
|
|
|
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态',
|
|
|
|
|
`contacts` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系人',
|
|
|
|
|
`mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系电话',
|
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
|
|
|
|
|
`createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
|
`updateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE = InnoDB
|
|
|
|
|
AUTO_INCREMENT = 1
|
|
|
|
|
CHARACTER SET = utf8mb4
|
|
|
|
|
COLLATE = utf8mb4_0900_ai_ci COMMENT = '试点单位表'
|
|
|
|
|
ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|