数据推送
This commit is contained in:
parent
9da5b0ea5a
commit
3760b1a8de
|
|
@ -0,0 +1,49 @@
|
||||||
|
--任务:南网施工装备一体化数据推送开发
|
||||||
|
|
||||||
|
CREATE TABLE `warehouse_push_equipment` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '装备id',
|
||||||
|
`ma_id` int(11) DEFAULT NULL COMMENT '仓储装备id',
|
||||||
|
`item_name` varchar(255) DEFAULT NULL COMMENT '物品种类',
|
||||||
|
`device_type` varchar(255) DEFAULT NULL COMMENT '设备类型',
|
||||||
|
`specification_type` varchar(255) DEFAULT NULL COMMENT '规格型号',
|
||||||
|
`ma_code` varchar(255) DEFAULT NULL COMMENT '设备编码',
|
||||||
|
`storage_status` int(11) DEFAULT NULL COMMENT '仓储状态 1:在库,2:在用',
|
||||||
|
`rental_status` int(11) DEFAULT NULL COMMENT '租赁状态 1:信息未完善,2:信息已完善,3:待上架,4:待租,5:租赁中',
|
||||||
|
`status` int(10) unsigned DEFAULT '0' COMMENT '是否启用 0:不启用,1:启用',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `id_index` (`id`) USING BTREE COMMENT '主键'
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='仓储推送装备维护表';
|
||||||
|
|
||||||
|
|
||||||
|
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 '推送接收表';
|
||||||
|
|
||||||
|
|
||||||
|
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 '推送接收明细表';
|
||||||
Loading…
Reference in New Issue