Commit 2146b5f2 by 仲光辉

feat: add sql.

parent fbc1942f
# # 2022.05.25 # # 2022.05.25
...@@ -5603,7 +5603,6 @@ ...@@ -5603,7 +5603,6 @@
### 线上数据已经执行 执行时间: 2022.12.10 1256 ### 线上数据已经执行 执行时间: 2022.12.10 1256
# alter table opportunity # alter table opportunity
# modify is_delete tinyint(1) default 0 null comment '是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1'; # modify is_delete tinyint(1) default 0 null comment '是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1';
# #
...@@ -5657,7 +5656,6 @@ ...@@ -5657,7 +5656,6 @@
# #
### 线上数据已经执行 执行时间: 2023.01.18 0127 ### 线上数据已经执行 执行时间: 2023.01.18 0127
# alter table contract # alter table contract
...@@ -5760,5 +5758,35 @@ ...@@ -5760,5 +5758,35 @@
### 线上数据已经执行 执行时间: 2023.03.15 1031 ### 线上数据已经执行 执行时间: 2023.03.15 1031
# create table bill_cost_type
# (
# id bigint not null comment '主键id' primary key,
# bill_cost_type_uuid bigint not null comment '主键 uuid',
# cost_type tinyint not null comment '费用类型:1:收款费用类型 2:付款费用类型',
# name varchar(20) not null comment '费用名称',
# is_base_cost tinyint not null comment '是否基础费用类型 0:否 1:是',
# `key` varchar(64) null comment 'key',
# is_organizer_charge tinyint(1) default 0 not null comment '是否运营主体收取',
# is_delete tinyint(1) default 0 null comment '是否删除 0:未删除 1:已删除',
# create_uuid char(32) null comment '创建人',
# update_uuid char(32) null comment '修改人',
# create_time datetime default CURRENT_TIMESTAMP null comment '创建时间',
# update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '修改时间',
# creator_name varchar(64) null comment '创建人姓名',
# updater_name varchar(64) null comment '更新人姓名'
# )
# comment '账单费用类型';
#
# create index bill_cost_type_bill_cost_type_uuid_index
# on bill_cost_type (bill_cost_type_uuid);
#
# alter table bill_cost_type
# modify is_base_cost tinyint default 0 null comment '是否基础费用类型 0:否 1:是';
#
# alter table bill_cost_type
# modify is_organizer_charge tinyint(1) default 0 not null comment '是否运营主体收取 0:否 1:是';
### 线上数据已经执行 执行时间: 2023.03.22 1842
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