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
db7c15aa
Commit
db7c15aa
authored
Apr 11, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
ac5d2336
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
20 deletions
+27
-20
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+19
-19
线上数据修正SQL记录.sql
线上数据修正SQL记录.sql
+8
-1
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
db7c15aa
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
...
@@ -5788,24 +5788,24 @@
###
线上数据已经执行
执行时间
:
2023
.
03
.
22
18
:
42
alter
table
contract
add
order_maker_uuid
varchar
(
64
)
null
comment
'制表人 uuid'
;
create
index
business_custom_field_business_uuid_index
on
business_custom_field
(
business_uuid
);
create
index
business_custom_field_field_name_index
on
business_custom_field
(
field_name
);
create
index
company_region_uuid_index
on
company
(
region_uuid
);
alter
table
bill_item
modify
bill_tag
int
(
1
)
default
0
null
comment
'账单标签: 0:普通账单 1:退租合同账单快照(用于撤销退租之后的账单回退) 2:退租手动添加账单 (用于撤销退租之后删除退租时手动添加的账单) 3:账单金额已编辑(退租时编辑) 4:结清时生产的滞纳金 5:仅计算不收取的时候,不需要计算的被删除的滞纳金 6: 定时任务计算的滞纳金 default: 0'
;
alter
table
contract
modify
surrender_type
int
(
1
)
null
comment
'退租类型: 1:正常退租 2:提前退租(和平解约) 4:异常退租(跑路退租)'
;
#
alter
table
contract
#
add
order_maker_uuid
varchar
(
64
)
null
comment
'制表人 uuid'
;
#
#
create
index
business_custom_field_business_uuid_index
#
on
business_custom_field
(
business_uuid
);
#
#
create
index
business_custom_field_field_name_index
#
on
business_custom_field
(
field_name
);
#
#
create
index
company_region_uuid_index
#
on
company
(
region_uuid
);
#
#
alter
table
bill_item
#
modify
bill_tag
int
(
1
)
default
0
null
comment
'账单标签: 0:普通账单 1:退租合同账单快照(用于撤销退租之后的账单回退) 2:退租手动添加账单 (用于撤销退租之后删除退租时手动添加的账单) 3:账单金额已编辑(退租时编辑) 4:结清时生产的滞纳金 5:仅计算不收取的时候,不需要计算的被删除的滞纳金 6: 定时任务计算的滞纳金 default: 0'
;
#
#
alter
table
contract
#
modify
surrender_type
int
(
1
)
null
comment
'退租类型: 1:正常退租 2:提前退租(和平解约) 4:异常退租(跑路退租)'
;
###
线上数据已经执行
执行时间
:
2023
.
04
.
11
15
:
33
线上数据修正SQL记录.sql
View file @
db7c15aa
UPDAT
E
project_floor_sub_item
UPDAT
E
project_floor_sub_item
...
...
@@ -419,6 +419,13 @@ UPDATE mfg.project_unit_rental t
SET
t
.
delete_time
=
null
WHERE
t
.
uuid
LIKE
'443ed24ca2a449a18dd6ba8ab4435ea8'
ESCAPE
'#'
;
UPDATE
mfg
.
project_unit_rental
t
SET
t
.
delete_time
=
'2023-04-11 10:06:35'
WHERE
t
.
uuid
LIKE
'29e4178eaf104bfbb670b30251be314a'
ESCAPE
'#'
;
UPDATE
mfg
.
project_floor_sub_item
t
SET
t
.
delete_time
=
'2023-04-11 10:10:51'
WHERE
t
.
uuid
LIKE
'1535098767345213441'
ESCAPE
'#'
;
...
...
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