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
8fccf9cc
Commit
8fccf9cc
authored
Apr 10, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
a8392e93
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+17
-1
线上数据修正SQL记录.sql
线上数据修正SQL记录.sql
+14
-1
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
8fccf9cc
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
...
@@ -5788,5 +5788,21 @@
###
线上数据已经执行
执行时间
:
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'
;
线上数据修正SQL记录.sql
View file @
8fccf9cc
UPDAT
E
project_floor_sub_item
UPDAT
E
project_floor_sub_item
...
...
@@ -391,6 +391,19 @@ SET t.user_uuid = '898849334b694f68aaf31b2abbef518e',
t
.
name
=
'丁雨婷-Pico'
WHERE
t
.
uuid
=
1640967880595537922
;
UPDATE
mfg
.
contract_follow_admin
t
SET
t
.
user_uuid
=
'6c029174d2cf401e920e9fda1a5dc2f9'
,
t
.
name
=
'彭燕红-Sofia'
WHERE
t
.
uuid
=
1567079372954923009
;
UPDATE
mfg
.
contract
t
SET
t
.
create_uuid
=
'6c029174d2cf401e920e9fda1a5dc2f9'
WHERE
t
.
uuid
=
1547787933098000386
;
...
...
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