edit-api-licheb-opt
This commit is contained in:
@@ -153,6 +153,7 @@ create table lc_receiver_order_signs (
|
||||
-- Title:订单表
|
||||
-- Author:lcc
|
||||
-- Table:lc_receiver_orders
|
||||
-- info_json entrust_name 代办人姓名 entrust_idcard 代办人身份证
|
||||
-- ---------------------------
|
||||
drop table if exists lc_receiver_orders;
|
||||
create table lc_receiver_orders (
|
||||
@@ -180,3 +181,6 @@ create table lc_receiver_orders (
|
||||
u_time timestamp not null default current_timestamp on update current_timestamp,
|
||||
primary key (id)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 COLLATE=UTF8MB4_0900_AI_CI COMMENT='订单表';
|
||||
alter table lc_receiver_orders add pack_id int(10) unsigned not null default 0 comment '服务包id' after incor_id;
|
||||
alter table lc_receiver_orders add main_type tinyint(1) unsigned not null default 0 comment '购车主体(0个人 1公司)' after admin_id;
|
||||
alter table lc_receiver_orders add ifentrust tinyint(1) unsigned not null default 0 comment '是否委托代办' after main_type;
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
-- ----------------------------
|
||||
-- Title:服务表
|
||||
-- Author:lcc
|
||||
-- Table:lc_receiver_services
|
||||
-- ---------------------------
|
||||
create table lc_receiver_services (
|
||||
id int(10) unsigned not null auto_increment comment '自增id',
|
||||
title varchar(50) not null default '' comment '服务名称',
|
||||
field_name varchar(50) not null default '' comment '表名.字段名',
|
||||
c_time int(10) unsigned not null default '0' comment '创建时间',
|
||||
u_time timestamp not null default current_timestamp on update current_timestamp,
|
||||
primary key (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='服务表';
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
-- Title:服务包表
|
||||
-- Author:lcc
|
||||
-- Table:lc_receiver_service_package
|
||||
-- ---------------------------
|
||||
create table lc_receiver_service_package (
|
||||
id int(10) unsigned not null auto_increment comment '自增id',
|
||||
srv_ids varchar(50) not null default '' comment '服务包组合id',
|
||||
status tinyint(2) not null default '1' comment '状态(-1删除 0禁用 1正常)',
|
||||
c_time int(10) unsigned not null default '0' comment '创建时间',
|
||||
u_time timestamp not null default current_timestamp on update current_timestamp,
|
||||
primary key (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='服务包表'
|
||||
Reference in New Issue
Block a user