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
64c331a4
Commit
64c331a4
authored
Sep 22, 2021
by
zhouminghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
速卖通支付宝转正数
parent
88a41255
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
FinanceService.cs
Bailun.DC.Services/WebApiService/FinanceService.cs
+3
-3
No files found.
Bailun.DC.Services/WebApiService/FinanceService.cs
View file @
64c331a4
...
@@ -868,7 +868,7 @@ or (is_lend=2 and cost_form=1)) and pay_time>= @start and pay_time< @end ");
...
@@ -868,7 +868,7 @@ or (is_lend=2 and cost_form=1)) and pay_time>= @start and pay_time< @end ");
var
data
=
SimpleCRUD
.
Query
<
PlatformTypeMonthlyStatisticsDto
>(
sql
,
param
,
GlobalConfig
.
ConnectionString_DW
).
ToList
();
var
data
=
SimpleCRUD
.
Query
<
PlatformTypeMonthlyStatisticsDto
>(
sql
,
param
,
GlobalConfig
.
ConnectionString_DW
).
ToList
();
data
=
data
.
Select
(
x
=>
data
=
data
.
Select
(
x
=>
{
{
if
(
x
.
platform_type
.
Contains
(
"万邑通"
))
if
(
x
.
platform_type
.
Contains
(
"万邑通"
)
||
x
.
platform_type
.
Contains
(
"速卖通"
)
)
{
{
x
.
original_amount
=
Math
.
Abs
(
x
.
original_amount
);
x
.
original_amount
=
Math
.
Abs
(
x
.
original_amount
);
x
.
total_amount_sales
=
Math
.
Abs
(
x
.
total_amount_sales
);
x
.
total_amount_sales
=
Math
.
Abs
(
x
.
total_amount_sales
);
...
@@ -967,7 +967,7 @@ ON s2.id = s1.order_fee_config_id WHERE s1.month = @month ");
...
@@ -967,7 +967,7 @@ ON s2.id = s1.order_fee_config_id WHERE s1.month = @month ");
var
data
=
SimpleCRUD
.
Query
<
MonthPlatformProfitDto
>(
sql
,
parameters
,
GlobalConfig
.
ConnectionString_DW
).
ToList
();
var
data
=
SimpleCRUD
.
Query
<
MonthPlatformProfitDto
>(
sql
,
parameters
,
GlobalConfig
.
ConnectionString_DW
).
ToList
();
data
=
data
.
Select
(
x
=>
data
=
data
.
Select
(
x
=>
{
{
if
(
x
.
PlatForm
.
Contains
(
"万邑通"
))
if
(
x
.
PlatForm
.
Contains
(
"万邑通"
)
||
x
.
PlatForm
.
Contains
(
"速卖通"
)
)
{
{
x
.
AmountVal
=
Math
.
Abs
(
x
.
AmountVal
.
Value
);
x
.
AmountVal
=
Math
.
Abs
(
x
.
AmountVal
.
Value
);
x
.
AmountValRmb
=
Math
.
Abs
(
x
.
AmountValRmb
.
Value
);
x
.
AmountValRmb
=
Math
.
Abs
(
x
.
AmountValRmb
.
Value
);
...
@@ -994,7 +994,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
...
@@ -994,7 +994,7 @@ AND s2.datacenter_col like '%{input.FeeName}' group by s2.platform,s1.website ";
var
data
=
SimpleCRUD
.
Query
<(
string
platform
,
string
site
,
decimal
total
)>(
sql
,
parameters
,
GlobalConfig
.
ConnectionString_DW
).
ToList
();
var
data
=
SimpleCRUD
.
Query
<(
string
platform
,
string
site
,
decimal
total
)>(
sql
,
parameters
,
GlobalConfig
.
ConnectionString_DW
).
ToList
();
data
=
data
.
Select
(
x
=>
data
=
data
.
Select
(
x
=>
{
{
if
(
x
.
platform
.
Contains
(
"万邑通"
))
if
(
x
.
platform
.
Contains
(
"万邑通"
)
||
x
.
platform
.
Contains
(
"速卖通"
)
)
{
{
x
.
total
=
Math
.
Abs
(
x
.
total
);
x
.
total
=
Math
.
Abs
(
x
.
total
);
}
}
...
...
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