data push
This commit is contained in:
parent
a06b32cbb8
commit
19d7aad3eb
|
|
@ -1,34 +1,56 @@
|
|||
--任务:南网施工装备一体化数据推送开发
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
create table data_receive_info
|
||||
(
|
||||
id int auto_increment comment '主键ID'
|
||||
primary key,
|
||||
receive_status int default 0 null comment '接收状态(0:未完成 1 已完成)',
|
||||
push_num int null comment '推送数量',
|
||||
receive_date datetime null comment '推送日期'
|
||||
)
|
||||
comment '推送接收表';
|
||||
Source Server : localhost-57
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 50743
|
||||
Source Host : localhost:3306
|
||||
Source Schema : ma_sgzb_nw
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 50743
|
||||
File Encoding : 65001
|
||||
|
||||
create table data_receive_detail
|
||||
(
|
||||
id int auto_increment comment '主键ID'
|
||||
primary key,
|
||||
receive_id int null comment '推送ID',
|
||||
type_id int null comment '机具类型id',
|
||||
ma_id int null comment '机具编码ID',
|
||||
rent_time datetime null comment '租赁日期',
|
||||
rent_price varchar(10) null comment '租赁价格',
|
||||
unit_id int null comment '所属单位',
|
||||
supplier varchar(255) null comment '生产厂家',
|
||||
out_factory_time datetime null comment '出厂日期',
|
||||
is_new int null comment '是否新装备(0 是 1否)',
|
||||
check_code varchar(255) null comment '检验证编号',
|
||||
check_unit varchar(255) null comment '检验单位',
|
||||
check_date datetime null comment '检验日期',
|
||||
next_check_date datetime null comment '下次检验日期',
|
||||
ma_user_name varchar(10) null comment '机手姓名',
|
||||
status int default 0 null comment '状态(0 未接收 1已接收)'
|
||||
)
|
||||
comment '推送接收明细表';
|
||||
Date: 09/08/2024 12:16:04
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for data_receive_detail
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `data_receive_detail`;
|
||||
CREATE TABLE `data_receive_detail` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`receive_id` int(11) NULL DEFAULT NULL COMMENT '推送ID',
|
||||
`type_id` int(11) NULL DEFAULT NULL COMMENT '机具类型id',
|
||||
`ma_id` int(11) NULL DEFAULT NULL COMMENT '机具编码ID',
|
||||
`rent_time` datetime NULL DEFAULT NULL COMMENT '租赁日期',
|
||||
`rent_price` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '租赁价格',
|
||||
`unit_id` int(11) NULL DEFAULT NULL COMMENT '所属单位',
|
||||
`supplier` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
|
||||
`out_factory_time` datetime NULL DEFAULT NULL COMMENT '出厂日期',
|
||||
`is_new` int(11) NULL DEFAULT NULL COMMENT '是否新装备(0 是 1否)',
|
||||
`check_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检验证编号',
|
||||
`check_unit` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检验单位',
|
||||
`check_date` datetime NULL DEFAULT NULL COMMENT '检验日期',
|
||||
`next_check_date` datetime NULL DEFAULT NULL COMMENT '下次检验日期',
|
||||
`ma_user_name` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '机手姓名',
|
||||
`status` int(11) NULL DEFAULT 0 COMMENT '状态(0 未接收 1已接收)',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '推送接收明细表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for data_receive_info
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `data_receive_info`;
|
||||
CREATE TABLE `data_receive_info` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`receive_status` int(11) NULL DEFAULT 0 COMMENT '接收状态(0:未完成 1 已完成)',
|
||||
`push_num` int(11) NULL DEFAULT NULL COMMENT '推送数量',
|
||||
`receive_date` datetime NULL DEFAULT NULL COMMENT '推送日期',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '推送接收表' ROW_FORMAT = Dynamic;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
|
|
|||
|
|
@ -1,34 +1,56 @@
|
|||
--任务:南网施工装备一体化数据推送开发
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
create table data_receive_info
|
||||
(
|
||||
id int auto_increment comment '主键ID'
|
||||
primary key,
|
||||
receive_status int default 0 null comment '接收状态(0:未完成 1 已完成)',
|
||||
push_num int null comment '推送数量',
|
||||
receive_date datetime null comment '推送日期'
|
||||
)
|
||||
comment '推送接收表';
|
||||
Source Server : localhost-57
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 50743
|
||||
Source Host : localhost:3306
|
||||
Source Schema : ma_sgzb_nw
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 50743
|
||||
File Encoding : 65001
|
||||
|
||||
create table data_receive_detail
|
||||
(
|
||||
id int auto_increment comment '主键ID'
|
||||
primary key,
|
||||
receive_id int null comment '推送ID',
|
||||
type_id int null comment '机具类型id',
|
||||
ma_id int null comment '机具编码ID',
|
||||
rent_time datetime null comment '租赁日期',
|
||||
rent_price varchar(10) null comment '租赁价格',
|
||||
unit_id int null comment '所属单位',
|
||||
supplier varchar(255) null comment '生产厂家',
|
||||
out_factory_time datetime null comment '出厂日期',
|
||||
is_new int null comment '是否新装备(0 是 1否)',
|
||||
check_code varchar(255) null comment '检验证编号',
|
||||
check_unit varchar(255) null comment '检验单位',
|
||||
check_date datetime null comment '检验日期',
|
||||
next_check_date datetime null comment '下次检验日期',
|
||||
ma_user_name varchar(10) null comment '机手姓名',
|
||||
status int default 0 null comment '状态(0 未接收 1已接收)'
|
||||
)
|
||||
comment '推送接收明细表';
|
||||
Date: 09/08/2024 12:16:04
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for data_receive_detail
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `data_receive_detail`;
|
||||
CREATE TABLE `data_receive_detail` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`receive_id` int(11) NULL DEFAULT NULL COMMENT '推送ID',
|
||||
`type_id` int(11) NULL DEFAULT NULL COMMENT '机具类型id',
|
||||
`ma_id` int(11) NULL DEFAULT NULL COMMENT '机具编码ID',
|
||||
`rent_time` datetime NULL DEFAULT NULL COMMENT '租赁日期',
|
||||
`rent_price` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '租赁价格',
|
||||
`unit_id` int(11) NULL DEFAULT NULL COMMENT '所属单位',
|
||||
`supplier` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
|
||||
`out_factory_time` datetime NULL DEFAULT NULL COMMENT '出厂日期',
|
||||
`is_new` int(11) NULL DEFAULT NULL COMMENT '是否新装备(0 是 1否)',
|
||||
`check_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检验证编号',
|
||||
`check_unit` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '检验单位',
|
||||
`check_date` datetime NULL DEFAULT NULL COMMENT '检验日期',
|
||||
`next_check_date` datetime NULL DEFAULT NULL COMMENT '下次检验日期',
|
||||
`ma_user_name` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '机手姓名',
|
||||
`status` int(11) NULL DEFAULT 0 COMMENT '状态(0 未接收 1已接收)',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '推送接收明细表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for data_receive_info
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `data_receive_info`;
|
||||
CREATE TABLE `data_receive_info` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`receive_status` int(11) NULL DEFAULT 0 COMMENT '接收状态(0:未完成 1 已完成)',
|
||||
`push_num` int(11) NULL DEFAULT NULL COMMENT '推送数量',
|
||||
`receive_date` datetime NULL DEFAULT NULL COMMENT '推送日期',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '推送接收表' ROW_FORMAT = Dynamic;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue