Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
bltdc
DataCenter_Core2.1_20190520
Commits
93f22b70
Commit
93f22b70
authored
Apr 11, 2023
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平台利润调整退款为实际退款
parent
e4859de5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OrdersServices.cs
Bailun.DC.Services/OrdersServices.cs
+1
-1
No files found.
Bailun.DC.Services/OrdersServices.cs
View file @
93f22b70
...
...
@@ -5775,7 +5775,7 @@ namespace Bailun.DC.Services
}
var
sqlparam
=
new
DynamicParameters
();
var
sql
=
$"select
{
str_statistic_col
}
,
{(
isUSD
?
"sum(t1.amount_refund_usd)
"
:
"sum(t1.amount_refund_rmb
)"
)}
as amount_refund from dc_base_crm_refund t1 "
;
var
sql
=
$"select
{
str_statistic_col
}
,
{(
isUSD
?
"sum(t1.amount_refund_usd)
- (SUM(IFNULL(t1.amount_refund_promotion_usd,0)) + SUM(IFNULL(t1.amount_refund_platform_usd,0)) + SUM(IFNULL(t1.amount_refund_fba_usd,0)))"
:
"sum(t1.amount_refund_rmb) - (SUM(IFNULL(t1.amount_refund_promotion_rmb,0)) + SUM(IFNULL(t1.amount_refund_platform_rmb,0)) + SUM(IFNULL(t1.amount_refund_fba_rmb,0))
)"
)}
as amount_refund from dc_base_crm_refund t1 "
;
if
((
producttype
!=
null
&&
producttype
.
Count
()
>
0
)
||
skusource
.
HasValue
||
shippingstrategy
.
HasValue
||
statistictype
!=
0
)
{
...
...
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