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 515e1c93
authored
May 25, 2026
by
庞善天
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
脚本补充
1 parent
7d75d0e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
1 deletions
13_v5.8.1_20260529/sql/DDL/scrm组dj_smartcarlife_ddl.sql
13_v5.8.1_20260529/sql/DDL/scrm组scrm_equity_ddl.sql
13_v5.8.1_20260529/sql/DML/scrm组dj_smartcarlife_dml.sql
13_v5.8.1_20260529/sql/DML/scrm组scrm_equity_dml.sql
13_v5.8.1_20260529/sql/DDL/scrm组dj_smartcarlife_ddl.sql
View file @
515e1c9
...
...
@@ -85,5 +85,10 @@ CREATE TABLE `supervisor_task_participant` (
###
杨卫
-----------------start--------------------
###
杨卫
-----------------end----------------------
###
庞善天
-----------------start--------------------
alter
table
dj_car_life_vd_equity_order
add
order_type
tinyint
(
2
)
default
'1'
comment
'订单类型(1:正常订单,2:打折策略,3:买赠策略,4:冲量活动,5:组合付款,6:内部结算)'
after
order_id
;
###
庞善天
-----------------end----------------------
13_v5.8.1_20260529/sql/DDL/scrm组scrm_equity_ddl.sql
0 → 100644
View file @
515e1c9
###
庞善天
-----------------start--------------------
alter
table
scrm_equity
.
`service_equity_order`
add
order_type
tinyint
(
2
)
default
'1'
comment
'订单类型(1:正常订单,2:打折策略,3:买赠策略,4:冲量活动,5:组合付款,6:内部结算)'
after
contract_no
;
###
庞善天
-----------------end----------------------
13_v5.8.1_20260529/sql/DML/scrm组dj_smartcarlife_dml.sql
View file @
515e1c9
...
...
@@ -81,4 +81,13 @@ WHERE deleted_flag = 'N' AND task_type = 5
AND
merchant_id
IS
NOT
NULL
AND
id
NOT
IN
(
SELECT
relation_id
FROM
supervisor_task_merchant
WHERE
deleted_flag
=
'N'
);
###
谢海旭
-----------------end---------------------
\ No newline at end of file
###
谢海旭
-----------------end---------------------
###
庞善天
-----------------start-------------------
UPDATE
dj_car_life_vd_equity_order
e
INNER
JOIN
dj_car_life_vd_quotation
q
ON
e
.
order_id
=
q
.
order_id
AND
q
.
del_flag
=
'N'
SET
e
.
order_type
=
q
.
order_type
WHERE
e
.
deleted_flag
=
'N'
;
###
庞善天
-----------------end---------------------
\ No newline at end of file
13_v5.8.1_20260529/sql/DML/scrm组scrm_equity_dml.sql
0 → 100644
View file @
515e1c9
###
庞善天
-----------------start-------------------
UPDATE
service_equity_order
s
INNER
JOIN
dj_car_life_vd_equity_order
e
ON
s
.
contract_no
=
e
.
contract_no
AND
e
.
deleted_flag
=
'N'
SET
s
.
order_type
=
e
.
order_type
WHERE
s
.
deleted_flag
=
'N'
;
###
庞善天
-----------------end---------------------
\ No newline at end of file
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