Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d19b93c2
authored
Jun 25, 2026
by
周立明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sql
1 parent
24800dc2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
18_v5.8.2.2_20260625/sql/DML/dj组dj_smartcarlife_dml.sql
18_v5.8.2.2_20260625/sql/DML/dj组dj_smartcarlife_dml.sql
View file @
d19b93c
...
@@ -14,7 +14,7 @@ where a.deleted_flag='N' and division_flag='Y' and a.reality_division_yq_merchan
...
@@ -14,7 +14,7 @@ where a.deleted_flag='N' and division_flag='Y' and a.reality_division_yq_merchan
update
dj_car_life_online_statement_account_trade_detail
set
reality_platform_merchant_id
=
null
,
reality_platform_merchant_name
=
null
where
deleted_flag
=
'N'
;
update
dj_car_life_online_statement_account_trade_detail
set
reality_platform_merchant_id
=
null
,
reality_platform_merchant_name
=
null
where
deleted_flag
=
'N'
;
-- 排除欢腾收款主体
-- 排除欢腾收款主体
update
dj_car_life_online_statement_account_trade_detail
,
dj_car_life_pay_order
b
,
dj_platform_payment
.
dj_payment_trade_order
c
update
dj_car_life_online_statement_account_trade_detail
a
,
dj_car_life_pay_order
b
,
dj_platform_payment
.
dj_payment_trade_order
c
set
a
.
deleted_flag
=
'D'
,
a
.
updated_by
=
'zhoulm_v5.8.2.2'
,
a
.
updated_date
=
NOW
()
WHERE
a
.
deleted_flag
=
'N'
and
c
.
payee_usercode
=
'826584355330285'
and
b
.
id
=
a
.
pay_order_id
and
b
.
deleted_flag
=
'N'
set
a
.
deleted_flag
=
'D'
,
a
.
updated_by
=
'zhoulm_v5.8.2.2'
,
a
.
updated_date
=
NOW
()
WHERE
a
.
deleted_flag
=
'N'
and
c
.
payee_usercode
=
'826584355330285'
and
b
.
id
=
a
.
pay_order_id
and
b
.
deleted_flag
=
'N'
and
c
.
out_trade_no
=
b
.
out_trade_no
and
c
.
deleted_flag
=
'N'
;
and
c
.
out_trade_no
=
b
.
out_trade_no
and
c
.
deleted_flag
=
'N'
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment