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
1cc27728
Commit
1cc27728
authored
Mar 03, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
a0e8790a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
线上数据修正SQL记录.sql
线上数据修正SQL记录.sql
+14
-5
No files found.
线上数据修正SQL记录.sql
View file @
1cc27728
UPDAT
E
project_floor_sub_item
UPDAT
E
project_floor_sub_item
...
@@ -44,7 +44,11 @@ WHERE obj_no IN (SELECT DISTINCT obj_no
...
@@ -44,7 +44,11 @@ WHERE obj_no IN (SELECT DISTINCT obj_no
LIMIT
16
;
LIMIT
16
;
UPDATE
mfg
.
contract
t
SET
t
.
opportunity_uuid
=
1624981010162188290
,
t
.
opportunity_contact_uuid
=
'bd48613fa7a066c46ab5ba2c89678108'
,
t
.
opportunity_contact_name
=
'杜敏'
WHERE
t
.
uuid
=
1613730111323897857
UPDATE
mfg
.
contract
t
SET
t
.
opportunity_uuid
=
1624981010162188290
,
t
.
opportunity_contact_uuid
=
'bd48613fa7a066c46ab5ba2c89678108'
,
t
.
opportunity_contact_name
=
'杜敏'
WHERE
t
.
uuid
=
1613730111323897857
UPDATE
mfg
.
contract
t
UPDATE
mfg
.
contract
t
...
@@ -187,10 +191,10 @@ WHERE t.uuid = 1597231717989023745
...
@@ -187,10 +191,10 @@ WHERE t.uuid = 1597231717989023745
t
.
enable_operating_management_bill
=
t
.
enable_operating_management_bill
=
0
;
0
;
UPDATE
bill
AS
b
UPDATE
bill
AS
b
INNER
JOIN
bill_item
AS
bi
ON
bi
.
bill_uuid
=
b
.
uuid
AND
bi
.
is_parent
=
1
INNER
JOIN
bill_item
AS
bi
ON
bi
.
bill_uuid
=
b
.
uuid
AND
bi
.
is_parent
=
1
SET
b
.
payment_date
=
bi
.
pay_date
SET
b
.
payment_date
=
bi
.
pay_date
WHERE
bi
.
fee_type_uuid
=
'1494239635921162240'
WHERE
bi
.
fee_type_uuid
=
'1494239635921162240'
UPDATE
mfg
.
contract
t
UPDATE
mfg
.
contract
t
SET
t
.
opportunity_uuid
=
1626422072642699265
,
SET
t
.
opportunity_uuid
=
1626422072642699265
,
...
@@ -235,6 +239,11 @@ SET t.opportunity_uuid = 1599958509728366593,
...
@@ -235,6 +239,11 @@ SET t.opportunity_uuid = 1599958509728366593,
t
.
opportunity_contact_name
=
'李总'
t
.
opportunity_contact_name
=
'李总'
WHERE
t
.
uuid
=
1599957680989413377
;
WHERE
t
.
uuid
=
1599957680989413377
;
UPDATE
mfg
.
contract
t
SET
t
.
opportunity_uuid
=
1630140674201944065
,
t
.
opportunity_contact_uuid
=
'a2384decba8320a431b8e7a1c37afe7a'
,
t
.
opportunity_contact_name
=
'杨伯虎'
WHERE
t
.
uuid
=
1627510036635971586
...
...
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