You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.9 KiB
56 lines
2.9 KiB
/* V2.1.0*/
|
|
/*==============================================================*/
|
|
/* Table: cleaner_blacklists */
|
|
/*==============================================================*/
|
|
create table cleaner_blacklists
|
|
(
|
|
id int not null auto_increment comment 'id',
|
|
cleaner_id bigint not null comment '保洁师id',
|
|
consumer_id bigint not null comment '消费者id',
|
|
cp_cleaner_name varchar(32) comment '保洁师名称',
|
|
create_at bigint comment '创建时间',
|
|
create_by varchar(32) comment '创建人',
|
|
update_at bigint comment '更新时间',
|
|
update_by varchar(32) comment '更新人',
|
|
status tinyint(1) default 0 comment '状态:0-正常,1-解除',
|
|
remark varchar(100) comment '备注',
|
|
del_flag tinyint DEFAULT 0 comment '删除标识:0-未删除,1-已删除',
|
|
primary key (id)
|
|
);
|
|
|
|
alter table cleaner_blacklists comment '保洁师黑名单';
|
|
|
|
/*==============================================================*/
|
|
/* Table: book_detail */
|
|
/*==============================================================*/
|
|
alter table book_detail add column default_cleaner_id varchar(32) comment '默认保洁师编号'
|
|
add column default_cleaner_name varchar(50) comment '默认保洁师名称';
|
|
|
|
/*==============================================================*/
|
|
/* Table: cleaner_info */
|
|
/*==============================================================*/
|
|
alter table cleaner_info
|
|
add column departure_at bigint default 0 comment '离职时间,默认0,大于0为已离职',
|
|
add column amap_lng decimal(10,6) default 0.000000 comment '高德经度',
|
|
add column amap_lat decimal(10,6) default 0.000000 comment '高德纬度';
|
|
|
|
|
|
/*==============================================================*/
|
|
/* Table: service_card */
|
|
/*==============================================================*/
|
|
alter table service_card
|
|
add column amap_lng decimal(10,6) default 0.000000 comment '高德经度',
|
|
add column amap_lat decimal(10,6) default 0.000000 comment '高德纬度';
|
|
|
|
/*==============================================================*/
|
|
/* Table: book_detail */
|
|
/*==============================================================*/
|
|
alter table book_detail
|
|
add column amap_lng decimal(10,6) default 0.000000 comment '高德经度',
|
|
add column amap_lat decimal(10,6) default 0.000000 comment '高德纬度';
|
|
|
|
/*==============================================================*/
|
|
/* Table: cleaner_pool */
|
|
/*==============================================================*/
|
|
alter table cleaner_pool
|
|
add column del_flag tinyint DEFAULT 0 comment '删除标识:0-未删除,1-已删除';
|