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
217aafb8
Commit
217aafb8
authored
Nov 18, 2021
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改功能:月售销利润的销售额退款自2021年10月之后除Aliexpress平台之外都使用财务汇率
parent
9e73fe42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
FinanceService.cs
Bailun.DC.Services/WebApiService/FinanceService.cs
+2
-2
No files found.
Bailun.DC.Services/WebApiService/FinanceService.cs
View file @
217aafb8
...
@@ -1126,7 +1126,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
...
@@ -1126,7 +1126,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
public
CommonApiResponseDto
<
PageResult
<
List
<
MonthReFundDto
>>>
GetMonthProfitFeeReFundDetail
(
GetMonthProfitPlatformDetailInput
input
)
public
CommonApiResponseDto
<
PageResult
<
List
<
MonthReFundDto
>>>
GetMonthProfitFeeReFundDetail
(
GetMonthProfitPlatformDetailInput
input
)
{
{
var
sql
=
BuildMonthProfitFeeReFundDetailSql
(
input
,
out
DynamicParameters
param
,
false
,
false
);
var
sql
=
BuildMonthProfitFeeReFundDetailSql
(
input
,
out
DynamicParameters
param
,
false
,
false
);
Console
.
WriteLine
(
$"查询退款分页信息的SQL:
{
sql
}
"
);
//
Console.WriteLine($"查询退款分页信息的SQL:{sql}");
var
result
=
new
PageResult
<
List
<
MonthReFundDto
>>();
var
result
=
new
PageResult
<
List
<
MonthReFundDto
>>();
using
(
var
cn
=
new
MySqlConnection
(
Common
.
GlobalConfig
.
ConnectionString
))
using
(
var
cn
=
new
MySqlConnection
(
Common
.
GlobalConfig
.
ConnectionString
))
{
{
...
@@ -1140,7 +1140,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
...
@@ -1140,7 +1140,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
if
(
data
.
Count
>
0
)
if
(
data
.
Count
>
0
)
{
{
var
sumSql
=
BuildMonthProfitFeeReFundDetailSql
(
input
,
out
DynamicParameters
paramSum
,
false
,
true
);
var
sumSql
=
BuildMonthProfitFeeReFundDetailSql
(
input
,
out
DynamicParameters
paramSum
,
false
,
true
);
Console
.
WriteLine
(
$"查询退款金额汇总信息的SQL:
{
sql
}
"
);
//
Console.WriteLine($"查询退款金额汇总信息的SQL:{sql}");
var
count
=
cn
.
Query
<(
decimal
,
decimal
)>(
sumSql
,
param
).
FirstOrDefault
();
var
count
=
cn
.
Query
<(
decimal
,
decimal
)>(
sumSql
,
param
).
FirstOrDefault
();
data
.
Add
(
new
MonthReFundDto
data
.
Add
(
new
MonthReFundDto
{
{
...
...
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