Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
3ebbc4c6
Commit
3ebbc4c6
authored
Sep 03, 2021
by
zhoujinhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周转表新增shopify平台销量日均
parent
bba4bcea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
dc_auto_turnover.cs
AutoTurnOver.DB/dc_auto_turnover.cs
+3
-0
dc_auto_turnover.cs
AutoTurnOver.Models/dc_auto_turnover.cs
+29
-0
SkuAutoTurnServices.cs
AutoTurnOver.Services/SkuAutoTurnServices.cs
+3
-0
No files found.
AutoTurnOver.DB/dc_auto_turnover.cs
View file @
3ebbc4c6
...
...
@@ -445,6 +445,9 @@ from dc_auto_turnover as dat
item
.
history_fourteenday_sales_amazon
=
item
.
history_fourteenday_sales_amazon
.
Round1
();
item
.
history_thirtyday_sales_amazon
=
item
.
history_thirtyday_sales_amazon
.
Round1
();
item
.
history_sevenday_sales_shopify
=
item
.
history_sevenday_sales_shopify
.
Round1
();
item
.
history_fourteenday_sales_shopify
=
item
.
history_fourteenday_sales_shopify
.
Round1
();
item
.
history_thirtyday_sales_shopify
=
item
.
history_thirtyday_sales_shopify
.
Round1
();
var
storage_capacity_config
=
storage_capacity_configs
.
FirstOrDefault
(
s
=>
s
.
bailun_sku_warehouse_code
==
$"
{
item
.
bailun_sku
}{
item
.
warehouse_code
}
"
)
??
new
dc_base_storage_capacity_config
{
};
item
.
storage_capacity_status
=
storage_capacity_config
.
status
;
...
...
AutoTurnOver.Models/dc_auto_turnover.cs
View file @
3ebbc4c6
...
...
@@ -587,6 +587,22 @@ namespace AutoTurnOver.Models
/// Walmart 过去30日销量(日均)
/// </summary>
public
decimal
history_thirtyday_sales_walmart
{
get
;
set
;
}
/// <summary>
/// shopify 过去7日销量(日均)
/// </summary>
[
Description
(
@"shopify过去7日销量(日均)"
)]
public
decimal
history_sevenday_sales_shopify
{
get
;
set
;
}
/// <summary>
/// shopify 过去14日销量(日均)
/// </summary>
[
Description
(
@"shopify过去14日销量(日均)"
)]
public
decimal
history_fourteenday_sales_shopify
{
get
;
set
;
}
/// <summary>
/// shopify 过去30日销量(日均)
/// </summary>
[
Description
(
@"shopify过去30日销量(日均)"
)]
public
decimal
history_thirtyday_sales_shopify
{
get
;
set
;
}
}
public
class
ana_search_dto
:
Condition_AutoTurnOver
...
...
@@ -1349,5 +1365,18 @@ namespace AutoTurnOver.Models
public
decimal
history_thirtyday_sales_aliexpress
{
get
;
set
;
}
public
string
sku_label
{
get
;
set
;
}
/// <summary>
/// shopify 过去7日销量(日均)
/// </summary>
public
decimal
history_sevenday_sales_shopify
{
get
;
set
;
}
/// <summary>
/// shopify 过去14日销量(日均)
/// </summary>
public
decimal
history_fourteenday_sales_shopify
{
get
;
set
;
}
/// <summary>
/// shopify 过去30日销量(日均)
/// </summary>
public
decimal
history_thirtyday_sales_shopify
{
get
;
set
;
}
}
}
AutoTurnOver.Services/SkuAutoTurnServices.cs
View file @
3ebbc4c6
...
...
@@ -418,6 +418,9 @@ namespace AutoTurnOver.Services
row
[
"amazon最近7天日均销量"
]
=
itemData
.
history_sevenday_sales_amazon
;
row
[
"amazon最近14天日均销量"
]
=
itemData
.
history_fourteenday_sales_amazon
;
row
[
"amazon最近30天日均销量"
]
=
itemData
.
history_thirtyday_sales_amazon
;
row
[
"shopify最近7天日均销量"
]
=
itemData
.
history_sevenday_sales_shopify
;
row
[
"shopify最近14天日均销量"
]
=
itemData
.
history_fourteenday_sales_shopify
;
row
[
"shopify最近30天日均销量"
]
=
itemData
.
history_thirtyday_sales_shopify
;
row
[
"已发货库存"
]
=
itemData
.
shipped_stock
;
row
[
"开发时间"
]
=
(
itemData
.
develop_time
==
null
?
""
:
itemData
.
develop_time
.
Value
.
ToString
(
"yyyy-MM-dd"
));
row
[
"是否侵权"
]
=
itemData
.
has_tort
;
...
...
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