Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dankal-data-view
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
仲光辉
dankal-data-view
Commits
03e64b4c
Commit
03e64b4c
authored
Jan 19, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
3c903107
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
48 deletions
+53
-48
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+53
-48
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
03e64b4c
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
@@ -5604,56 +5604,61 @@
...
@@ -5604,56 +5604,61 @@
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'
;
#
#
alter
table
opportunity
#
alter
table
opportunity
add
origin_opportunity_uuid
bigint
(
19
)
not
null
comment
'当前记录所属初看/上一次复看记录 uuid {@link #getUuid()}'
;
#
add
origin_opportunity_uuid
bigint
(
19
)
not
null
comment
'当前记录所属初看/上一次复看记录 uuid {@link #getUuid()}'
;
#
alter
table
opportunity
#
alter
table
opportunity
add
review_times
int
default
0
null
comment
'复看次数 默认 0'
;
#
add
review_times
int
default
0
null
comment
'复看次数 默认 0'
;
#
alter
table
opportunity
#
alter
table
opportunity
add
first_origin_opportunity_uuid
bigint
(
19
)
not
null
comment
'当前记录的初看记录uuid {@link #getUuid()}'
;
#
add
first_origin_opportunity_uuid
bigint
(
19
)
not
null
comment
'当前记录的初看记录uuid {@link #getUuid()}'
;
#
alter
table
opportunity
#
alter
table
opportunity
add
current_opportunity_uuid
bigint
(
19
)
not
null
comment
'当前最新的记录uuid {@code {@link #isDelete} == 0}'
;
#
add
current_opportunity_uuid
bigint
(
19
)
not
null
comment
'当前最新的记录uuid {@code {@link #isDelete} == 0}'
;
#
alter
table
opportunity
#
alter
table
opportunity
add
project_name
varchar
(
64
)
null
comment
'项目名称'
;
#
add
project_name
varchar
(
64
)
null
comment
'项目名称'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
budget_requirements
varchar
(
15
)
null
comment
'预算需求'
;
#
add
budget_requirements
varchar
(
15
)
null
comment
'预算需求'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
company_name
varchar
(
64
)
null
comment
'公司名称'
;
#
add
company_name
varchar
(
64
)
null
comment
'公司名称'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
business_license_img
varchar
(
100
)
null
comment
'营业执照 图片 选填 可以上传一张图片'
;
#
add
business_license_img
varchar
(
100
)
null
comment
'营业执照 图片 选填 可以上传一张图片'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
agency_uuid
bigint
(
19
)
null
comment
'中介机构uuid 选填'
;
#
add
agency_uuid
bigint
(
19
)
null
comment
'中介机构uuid 选填'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
agency_name
varchar
(
64
)
null
comment
'中介机构名称 选填'
;
#
add
agency_name
varchar
(
64
)
null
comment
'中介机构名称 选填'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
agent_uuid
bigint
(
19
)
null
comment
'经纪人 uuid'
;
#
add
agent_uuid
bigint
(
19
)
null
comment
'经纪人 uuid'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
agent_name
varchar
(
20
)
null
comment
'经纪人姓名 选填'
;
#
add
agent_name
varchar
(
20
)
null
comment
'经纪人姓名 选填'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
add
agent_mobile
varchar
(
30
)
null
comment
'纪人联系方式 选填'
;
#
add
agent_mobile
varchar
(
30
)
null
comment
'纪人联系方式 选填'
;
#
alter
table
opportunity_report_message
#
alter
table
opportunity_report_message
modify
budget_requirements
varchar
(
30
)
null
comment
'预算需求'
;
#
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
01
:
27
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment