Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
backend-knowledge-base
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 2aabfe3e
authored
Mar 19, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加邮件处理
1 parent
8f89c892
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
5 deletions
operations/20260101模板.md
operations/异常订单处理事项-线下支付订单更新支付方式或支付流水.md → operations/20260318异常订单处理事项-线下支付订单更新支付方式或支付流水.md
operations/导出附件里的商品ID在25年的售卖数量和售价.md → operations/20260319导出附件里的商品ID在25年的售卖数量和售价.md
operations/20260319银盛商户重置状态重新查询审核结果.md
operations/20260101模板.md
0 → 100644
View file @
2aabfe3
## 邮件需求描述
-
需求发起人:xx
-
处理人:xx
-
描述:导出附件里的商品ID在25年的售卖数量和售价
-
导出结果字段:商品ID 产值 数量 平均售价 最高售价 最低售价
-
条件:给出UID例如
商品ID
U2106301731037590011
U2203211302374790022
U2203211302374790029
U2203211302374790043
U2208161642312280001
U2208161642312280004
U2209232349288350001
U2209232349523670001
U2210101610257330001
## 处理sql
```
sql
select
gso
.
upgrade_goods_commodity_code
,
sum
(
gso
.
total_price
),
sum
(
number
),
ROUND
(
sum
(
gso
.
total_price
)
/
sum
(
number
),
2
),
ROUND
(
avg
(
gso
.
total_price
/
number
),
2
),
ROUND
(
max
(
gso
.
total_price
/
number
),
2
),
ROUND
(
min
(
gso
.
total_price
/
number
),
2
)
from
dj_car_life_goods_sub_order
gso
left
join
dj_car_life_goods_order
go
on
go
.
order_code
=
gso
.
order_code
left
join
dj_car_life_pay_order
po
on
po
.
order_code
=
go
.
order_code
where
gso
.
deleted_flag
=
'N'
and
po
.
success_date
>=
'2025-01-01'
and
po
.
success_date
<
'2026-01-01'
and
go
.
status
in
(
4
,
6
)
and
go
.
deleted_flag
=
'N'
and
po
.
deleted_flag
=
'N'
and
gso
.
upgrade_goods_commodity_code
in
(
'U2106301731037590011'
)
GROUP
BY
gso
.
upgrade_goods_commodity_code
;
```
## 脚本使用注意事项
第一次使用需和脚本提供人确认逻辑
operations/异常订单处理事项-线下支付订单更新支付方式或支付流水.md
→
operations/
20260318
异常订单处理事项-线下支付订单更新支付方式或支付流水.md
View file @
2aabfe3
File moved
operations/导出附件里的商品ID在25年的售卖数量和售价.md
→
operations/
20260319
导出附件里的商品ID在25年的售卖数量和售价.md
View file @
2aabfe3
## 邮件需求描述
## 邮件需求描述
-
需求发起人:敏琪
导出附件里的商品ID在25年的售卖数量和售价
-
描述:
导出附件里的商品ID在25年的售卖数量和售价
导出结果字段:商品ID 产值 数量 平均售价 最高售价 最低售价
-
导出结果字段:商品ID 产值 数量 平均售价 最高售价 最低售价
给出UID例如:
-
条件:给出UID例如:
商品ID
商品ID
U2106301731037590011
U2106301731037590011
U2203211302374790022
U2203211302374790022
...
@@ -43,5 +45,5 @@ GROUP BY gso.upgrade_goods_commodity_code;
...
@@ -43,5 +45,5 @@ GROUP BY gso.upgrade_goods_commodity_code;
```
```
## 脚本提供人
立明
\ No newline at end of file
\ No newline at end of file
## 脚本使用注意事项
第一次使用需和脚本提供人确认逻辑
\ No newline at end of file
\ No newline at end of file
operations/20260319银盛商户重置状态重新查询审核结果.md
0 → 100644
View file @
2aabfe3
-
发起人:何敏
-
处理人:立明
```
sql
use
dj_platform_payment
;
update
dj_payment_yse_merchant_info
set
user_status
=
'待审核'
where
id
in
(
1075
);
```
\ No newline at end of file
\ 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