Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
8f9132e6
Commit
8f9132e6
authored
Nov 29, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
历史控货订单是否限制修改收货人的值逻辑刷新脚本提交
parent
7bb59e17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
20241129.sql
sql/v2.1/20241129.sql
+10
-0
No files found.
sql/v2.1/20241129.sql
0 → 100644
View file @
8f9132e6
-- 控货订单数据刷新
-- 更新历史控货订单数据要求:
-- 1.订单控货=是 && 控货状态=控货中/部分控货 && 订单创建时间<=2024-11.28 00:00 && 订单发货人电话=订单收货人电话,更新订单限制修改收货人=否
UPDATE
ecw_order
o
join
ecw_order_consignor
nor
on
o
.
order_id
=
nor
.
order_id
join
ecw_order_consignee
nee
on
o
.
order_id
=
nee
.
order_id
SET
o
.
is_limit_update_consignee
=
0
WHERE
o
.
is_cargo_control
=
1
AND
o
.
create_time
<=
'2024-11.28 00:00:00'
AND
nor
.
country_code
=
nee
.
country_code
AND
nor
.
phone
=
nee
.
phone
;
\ No newline at end of file
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