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
7d4be65e
Commit
7d4be65e
authored
Aug 05, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ebay平台按币种合并金额显示,etsy币种改为港币
parent
563cf003
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+26
-1
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
7d4be65e
...
@@ -10633,7 +10633,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
...
@@ -10633,7 +10633,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
new
mPlatformAccountingSetting
{
platform_type
=
"Ebay"
,
cert_id
=
"715"
,
creator
=
"张滢萍"
,
subject_no
=
"2203"
,
customer_no
=
"030j3"
,
currency
=
"USD"
,
currencyname
=
"美元"
,
website
=
""
,
text
=
"eBay-paypal平台发货确认收入"
,},
new
mPlatformAccountingSetting
{
platform_type
=
"Ebay"
,
cert_id
=
"715"
,
creator
=
"张滢萍"
,
subject_no
=
"2203"
,
customer_no
=
"030j3"
,
currency
=
"USD"
,
currencyname
=
"美元"
,
website
=
""
,
text
=
"eBay-paypal平台发货确认收入"
,},
new
mPlatformAccountingSetting
{
platform_type
=
"Etsy"
,
cert_id
=
"721"
,
creator
=
"张滢萍"
,
subject_no
=
"2203"
,
customer_no
=
"30001"
,
currency
=
"
USD"
,
currencyname
=
"美
元"
,
website
=
"US"
,
text
=
"Etsy平台发货确认收入"
,
projectno
=
"28001"
},
new
mPlatformAccountingSetting
{
platform_type
=
"Etsy"
,
cert_id
=
"721"
,
creator
=
"张滢萍"
,
subject_no
=
"2203"
,
customer_no
=
"30001"
,
currency
=
"
HKD"
,
currencyname
=
"港
元"
,
website
=
"US"
,
text
=
"Etsy平台发货确认收入"
,
projectno
=
"28001"
},
new
mPlatformAccountingSetting
{
platform_type
=
"Fyndiq"
,
cert_id
=
"722"
,
creator
=
"张滢萍"
,
subject_no
=
"2203"
,
customer_no
=
"31001"
,
currency
=
"SEK"
,
currencyname
=
"瑞典克朗"
,
website
=
"SE"
,
text
=
"Fyniq平台发货确认收入"
,
projectno
=
"30001"
},
new
mPlatformAccountingSetting
{
platform_type
=
"Fyndiq"
,
cert_id
=
"722"
,
creator
=
"张滢萍"
,
subject_no
=
"2203"
,
customer_no
=
"31001"
,
currency
=
"SEK"
,
currencyname
=
"瑞典克朗"
,
website
=
"SE"
,
text
=
"Fyniq平台发货确认收入"
,
projectno
=
"30001"
},
...
@@ -10668,6 +10668,31 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
...
@@ -10668,6 +10668,31 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
var
day
=
DateTime
.
Parse
(
month
+
"-01"
);
var
day
=
DateTime
.
Parse
(
month
+
"-01"
);
var
list
=
new
List
<
string
>();
var
list
=
new
List
<
string
>();
var
listEbay
=
result
.
Where
(
a
=>
a
.
platform_type
.
ToLower
()
==
"ebay"
).
ToList
();
result
=
result
.
Where
(
a
=>
a
.
platform_type
.
ToLower
()
!=
"ebay"
).
ToList
();
foreach
(
var
item
in
listEbay
.
GroupBy
(
a
=>
a
.
currency
))
{
foreach
(
var
_financename
in
item
.
GroupBy
(
f
=>
f
.
financecategoryname
))
{
var
_first
=
_financename
.
FirstOrDefault
();
var
_m
=
new
dc_month_shipping_incoming
{
platform_type
=
_first
.
platform_type
,
website
=
""
,
amount
=
_financename
.
Sum
(
b
=>
b
.
amount
),
createtime
=
_first
.
createtime
,
currency
=
item
.
Key
,
financecategoryname
=
_financename
.
Key
,
month
=
_first
.
month
,
};
result
.
Add
(
_m
);
}
}
foreach
(
var
item
in
result
)
foreach
(
var
item
in
result
)
{
{
...
...
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