Commit 03e64b4c by 仲光辉

feat: add sql.

parent 3c903107
# # 2022.05.25
# # 2022.05.25
......@@ -5604,56 +5604,61 @@
alter table opportunity
modify is_delete tinyint(1) default 0 null comment '是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1';
alter table opportunity
add origin_opportunity_uuid bigint(19) not null comment '当前记录所属初看/上一次复看记录 uuid {@link #getUuid()}';
alter table opportunity
add review_times int default 0 null comment '复看次数 默认 0';
alter table opportunity
add first_origin_opportunity_uuid bigint(19) not null comment '当前记录的初看记录uuid {@link #getUuid()}';
alter table opportunity
add current_opportunity_uuid bigint(19) not null comment '当前最新的记录uuid {@code {@link #isDelete} == 0}';
alter table opportunity
add project_name varchar(64) null comment '项目名称';
alter table opportunity_report_message
add budget_requirements varchar(15) null comment '预算需求';
alter table opportunity_report_message
add company_name varchar(64) null comment '公司名称';
alter table opportunity_report_message
add business_license_img varchar(100) null comment '营业执照 图片 选填 可以上传一张图片';
alter table opportunity_report_message
add agency_uuid bigint(19) null comment '中介机构uuid 选填';
alter table opportunity_report_message
add agency_name varchar(64) null comment '中介机构名称 选填';
alter table opportunity_report_message
add agent_uuid bigint(19) null comment '经纪人 uuid';
alter table opportunity_report_message
add agent_name varchar(20) null comment '经纪人姓名 选填';
alter table opportunity_report_message
add agent_mobile varchar(30) null comment '纪人联系方式 选填';
alter table opportunity_report_message
modify budget_requirements varchar(30) null comment '预算需求';
# alter table opportunity
# modify is_delete tinyint(1) default 0 null comment '是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1';
#
#
# alter table opportunity
# add origin_opportunity_uuid bigint(19) not null comment '当前记录所属初看/上一次复看记录 uuid {@link #getUuid()}';
#
# alter table opportunity
# add review_times int default 0 null comment '复看次数 默认 0';
#
# alter table opportunity
# add first_origin_opportunity_uuid bigint(19) not null comment '当前记录的初看记录uuid {@link #getUuid()}';
#
# alter table opportunity
# add current_opportunity_uuid bigint(19) not null comment '当前最新的记录uuid {@code {@link #isDelete} == 0}';
#
# alter table opportunity
# add project_name varchar(64) null comment '项目名称';
#
# alter table opportunity_report_message
# add budget_requirements varchar(15) null comment '预算需求';
#
# alter table opportunity_report_message
# add company_name varchar(64) null comment '公司名称';
#
# alter table opportunity_report_message
# add business_license_img varchar(100) null comment '营业执照 图片 选填 可以上传一张图片';
#
# alter table opportunity_report_message
# add agency_uuid bigint(19) null comment '中介机构uuid 选填';
#
# alter table opportunity_report_message
# add agency_name varchar(64) null comment '中介机构名称 选填';
#
# alter table opportunity_report_message
# add agent_uuid bigint(19) null comment '经纪人 uuid';
#
# alter table opportunity_report_message
# add agent_name varchar(20) null comment '经纪人姓名 选填';
#
# alter table opportunity_report_message
# add agent_mobile varchar(30) null comment '纪人联系方式 选填';
#
# alter table opportunity_report_message
# modify budget_requirements varchar(30) null comment '预算需求';
#
# alter table bill_item
# add settlement_trance_id bigint(19) null comment '结清账单 tranceId.(一般是结清产生的滞纳金才会有此值) {@link OperationLateFeeRecordPO#getTranceId()}';
#
#
#
### 线上数据已经执行 执行时间: 2023.01.18 0127
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment