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.
62 lines
2.7 KiB
62 lines
2.7 KiB
/*==============================================================*/
|
|
/* DBMS name: MySQL 5.0 */
|
|
/* Created on: 2018/7/18 0:23:54 */
|
|
/*==============================================================*/
|
|
|
|
drop table if exists service_evaluation;
|
|
|
|
/*==============================================================*/
|
|
/* Table: service_evaluation */
|
|
/*==============================================================*/
|
|
create table service_evaluation
|
|
(
|
|
id int not null,
|
|
user_id bigint comment '用户id',
|
|
book_id bigint comment '预约id',
|
|
book_no varchar(32) comment '预约编号',
|
|
evaluation_no bigint comment '评价编号',
|
|
time_score int comment '时效评分',
|
|
service_score int comment '服务评分',
|
|
profession_score int comment '专业评分',
|
|
create_at bigint comment '创建时间',
|
|
content varchar(255) comment '评价内容',
|
|
status tinyint default 0 comment '状态:0-待回访,1-已回访',
|
|
feedback_at bigint comment '回访时间',
|
|
feedback_content varchar(255) comment '回访内容',
|
|
feedback_by varchar(32) comment '回访人',
|
|
primary key (id)
|
|
);
|
|
|
|
alter table service_evaluation comment '服务评价表';
|
|
|
|
/*==============================================================*/
|
|
/* Table: consumer_info */
|
|
/*==============================================================*/
|
|
alter table consumer_info
|
|
add column channel_no varchar(32) comment '渠道编号',
|
|
add column channel_id bigint comment '渠道id';
|
|
|
|
|
|
/*==============================================================*/
|
|
/* Table: book_detail */
|
|
/*==============================================================*/
|
|
alter table book_detail
|
|
add column push_status tinyint default 0 comment '推送标识:0-未推送,1-已推送',
|
|
add column push_at dateTime comment '推送时间';
|
|
|
|
|
|
/*==============================================================*/
|
|
/* Table: vgoods */
|
|
/*==============================================================*/
|
|
alter table vgoods
|
|
add column sale_type tinyint comment '分销类型:1-实付比例,2-固定金额';
|
|
|
|
/*==============================================================*/
|
|
/* Table: vorder */
|
|
/*==============================================================*/
|
|
alter table vorder
|
|
add column sale_type tinyint comment '分销类型:1-实付比例,2-固定金额';
|
|
|
|
|
|
|
|
|