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
260853d6
Commit
260853d6
authored
Dec 04, 2020
by
allan0815
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加计算新月度销售利润报表服务
parent
7836d408
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
92 additions
and
16 deletions
+92
-16
dc_base_oms_sku.cs
Bailun.DC.Models/Orders/dc_base_oms_sku.cs
+1
-1
mOrder.cs
Bailun.DC.MonthSaleProfit/Models/mOrder.cs
+30
-0
response_Exchange.cs
Bailun.DC.MonthSaleProfit/Models/response_Exchange.cs
+15
-0
response_WithDraw.cs
Bailun.DC.MonthSaleProfit/Models/response_WithDraw.cs
+31
-0
Program.cs
Bailun.DC.MonthSaleProfit/Program.cs
+15
-15
Services.cs
Bailun.DC.MonthSaleProfit/Services.cs
+0
-0
No files found.
Bailun.DC.Models/Orders/dc_base_oms_sku.cs
View file @
260853d6
...
...
@@ -574,6 +574,6 @@ namespace Bailun.DC.Models.Orders
/// <summary>
/// 物流费--物流商API获取
/// </summary>
public
decimal
total_fee
{
get
;
set
;
}
public
decimal
?
total_fee
{
get
;
set
;
}
}
}
Bailun.DC.MonthSaleProfit/Models/mOrder.cs
0 → 100644
View file @
260853d6
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Bailun.DC.MonthSaleProfit.Models
{
public
class
mOrder
{
public
decimal
?
amount_sales
{
get
;
set
;
}
public
decimal
?
cost_product
{
get
;
set
;
}
public
decimal
?
cost_platform_fee
{
get
;
set
;
}
public
decimal
?
cost_paypal_fee
{
get
;
set
;
}
public
decimal
?
cost_first
{
get
;
set
;
}
public
decimal
?
cost_logistics
{
get
;
set
;
}
public
decimal
?
cost_handle_platform
{
get
;
set
;
}
public
string
financecategoryname
{
get
;
set
;
}
public
decimal
?
total_fee
{
get
;
set
;
}
public
decimal
?
cost_fba_fee
{
get
;
set
;
}
}
}
Bailun.DC.MonthSaleProfit/Models/response_Exchange.cs
0 → 100644
View file @
260853d6
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Bailun.DC.MonthSaleProfit.Models
{
public
class
response_Exchange
{
public
decimal
rate
{
get
;
set
;
}
public
string
toCurName
{
get
;
set
;
}
public
string
createTime
{
get
;
set
;
}
}
}
Bailun.DC.MonthSaleProfit/Models/response_WithDraw.cs
0 → 100644
View file @
260853d6
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Bailun.DC.MonthSaleProfit.Models
{
public
class
response_WithDraw
{
public
int
total
{
get
;
set
;
}
public
List
<
response_WithDrawData
>
list
{
get
;
set
;
}
}
public
class
response_WithDrawData
{
/// <summary>
/// 币种
/// </summary>
public
string
Currency
{
get
;
set
;
}
/// <summary>
/// 到账金额
/// </summary>
public
decimal
DaozhangMoney
{
get
;
set
;
}
/// <summary>
/// 手续费
/// </summary>
public
decimal
ServiceCharge
{
get
;
set
;
}
}
}
Bailun.DC.MonthSaleProfit/Program.cs
View file @
260853d6
...
...
@@ -7,23 +7,23 @@ namespace Bailun.DC.MonthSaleProfit
{
class
Program
{
static
async
Task
Main
(
string
[]
args
)
{
Console
.
WriteLine
(
"启动服务 "
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
));
var
builder
=
new
HostBuilder
().
ConfigureServices
((
hostContext
,
services
)
=>
{
services
.
AddHostedService
<
Services
>();
});
await
builder
.
RunConsoleAsync
();
}
//static void Main(string[] args)
//static async Task Main(string[] args)
//{
// var _services = new Services();
// Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
// var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
// {
// services.AddHostedService<Services>();
// });
// var start = DateTime.Parse("2020-11-01");
// _services.Init(start);
// await builder.RunConsoleAsync();
//}
static
void
Main
(
string
[]
args
)
{
var
_services
=
new
Services
();
var
start
=
DateTime
.
Parse
(
"2020-11-01"
);
_services
.
InitNew
(
start
);
}
}
}
Bailun.DC.MonthSaleProfit/Services.cs
View file @
260853d6
This diff is collapsed.
Click to expand it.
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