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
5c27d403
Commit
5c27d403
authored
May 15, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增自动下首单逻辑
parent
39c85f48
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
2 deletions
+98
-2
dc_auto_first_order_sku_dao.cs
AutoTurnOver.DB/dc_auto_first_order_sku_dao.cs
+0
-0
dc_auto_first_order_rule.cs
AutoTurnOver.Models/dc_auto_first_order_rule.cs
+42
-0
dc_auto_first_order_sku.cs
AutoTurnOver.Models/dc_auto_first_order_sku.cs
+56
-2
No files found.
AutoTurnOver.DB/dc_auto_first_order_sku_dao.cs
View file @
5c27d403
This diff is collapsed.
Click to expand it.
AutoTurnOver.Models/dc_auto_first_order_rule.cs
0 → 100644
View file @
5c27d403
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
AutoTurnOver.Models
{
public
class
dc_auto_first_order_rule
{
public
int
id
{
get
;
set
;
}
public
int
source
{
get
;
set
;
}
public
string
warehouse_type
{
get
;
set
;
}
public
string
brand
{
get
;
set
;
}
public
decimal
quantity
{
get
;
set
;
}
/// <summary>
/// 下单类型 1=固定数量 2=供应链长度
/// </summary>
public
int
order_type
{
get
;
set
;
}
/// <summary>
/// 是否自动凑商品moq
/// </summary>
public
bool
has_collect
{
get
;
set
;
}
/// <summary>
/// sku数量下限
/// </summary>
public
int
lower_limit_sku_count
{
get
;
set
;
}
/// <summary>
/// 商品日均下限
/// </summary>
public
int
lower_limit_sales
{
get
;
set
;
}
/// <summary>
/// 日均销量比例
/// </summary>
public
decimal
sales_ratio
{
get
;
set
;
}
}
}
AutoTurnOver.Models/dc_auto_first_order_sku.cs
View file @
5c27d403
...
@@ -17,7 +17,27 @@ namespace AutoTurnOver.Models
...
@@ -17,7 +17,27 @@ namespace AutoTurnOver.Models
/// 运输方式 1=陆运 2=海运 3=空运 4=铁路运输
/// 运输方式 1=陆运 2=海运 3=空运 4=铁路运输
/// </summary>
/// </summary>
public
int
sendtype
{
get
;
set
;
}
public
int
sendtype
{
get
;
set
;
}
public
DateTime
?
order_time
{
get
;
set
;
}
public
DateTime
order_time
{
get
;
set
;
}
/// <summary>
/// 内部商品编码
/// </summary>
public
string
product_inner_code
{
get
;
set
;
}
/// <summary>
/// 商品日均销量
/// </summary>
public
decimal
product_sales
{
get
;
set
;
}
/// <summary>
/// 开发来源
/// </summary>
public
int
source
{
get
;
set
;
}
/// <summary>
/// 品牌
/// </summary>
public
string
brand
{
get
;
set
;
}
}
}
public
class
dc_auto_first_order_sku_input_dto
public
class
dc_auto_first_order_sku_input_dto
...
@@ -26,7 +46,41 @@ namespace AutoTurnOver.Models
...
@@ -26,7 +46,41 @@ namespace AutoTurnOver.Models
public
int
sendtype
{
get
;
set
;
}
public
int
sendtype
{
get
;
set
;
}
public
List
<
string
>
detailed
{
get
;
set
;
}
public
List
<
detailed_dto
>
detailed
{
get
;
set
;
}
public
class
detailed_dto
{
public
string
bailun_sku
{
get
;
set
;
}
/// <summary>
/// 内部商品编码
/// </summary>
public
string
product_inner_code
{
get
;
set
;
}
/// <summary>
/// 商品日均销量
/// </summary>
public
decimal
product_sales
{
get
;
set
;
}
/// <summary>
/// 开发来源
/// </summary>
public
int
source
{
get
;
set
;
}
/// <summary>
/// 品牌
/// </summary>
public
string
brand
{
get
;
set
;
}
}
}
/// <summary>
/// 自动下单明细
/// </summary>
public
class
auto_first_order_detailed_dto
{
public
string
bailun_sku
{
get
;
set
;
}
public
decimal
quantity
{
get
;
set
;
}
}
}
}
}
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