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
3e69056f
Commit
3e69056f
authored
Feb 23, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c3f29c39
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
101 additions
and
3 deletions
+101
-3
AveragePurchase.cs
AutoTurnOver.DB/AveragePurchase.cs
+1
-1
dc_base_transfer_freight_dao.cs
AutoTurnOver.DB/dc_base_transfer_freight_dao.cs
+13
-0
dc_base_transfer_freight.cs
AutoTurnOver.Models/dc_base_transfer_freight.cs
+85
-0
Program.cs
AutoTurnOver.Purchase.AverageTarget/Program.cs
+2
-2
No files found.
AutoTurnOver.DB/AveragePurchase.cs
View file @
3e69056f
...
@@ -114,7 +114,7 @@ where t1.supplier_id = t2.suppliers_id ";
...
@@ -114,7 +114,7 @@ where t1.supplier_id = t2.suppliers_id ";
/// <returns></returns>
/// <returns></returns>
public
static
IEnumerable
<
dc_base_purchase_dto
>
GetPurchaseList
(
temp_sku_dto
skuData
,
int
seed_count
)
public
static
IEnumerable
<
dc_base_purchase_dto
>
GetPurchaseList
(
temp_sku_dto
skuData
,
int
seed_count
)
{
{
if
(
skuData
.
hq_type
==
"国内仓"
)
if
(
skuData
.
hq_type
==
"国内仓"
&&
skuData
.
warehouse_code
!=
"GZBLZZG"
)
{
{
DynamicParameters
parameters
=
new
DynamicParameters
();
DynamicParameters
parameters
=
new
DynamicParameters
();
parameters
.
Add
(
"bailun_sku"
,
skuData
.
bailun_sku
);
parameters
.
Add
(
"bailun_sku"
,
skuData
.
bailun_sku
);
...
...
AutoTurnOver.DB/dc_base_transfer_freight_dao.cs
0 → 100644
View file @
3e69056f
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
AutoTurnOver.DB
{
/// <summary>
/// 在库货运费单价
/// </summary>
public
class
dc_base_transfer_freight_dao
{
}
}
AutoTurnOver.Models/dc_base_transfer_freight.cs
0 → 100644
View file @
3e69056f
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
AutoTurnOver.Models
{
public
class
dc_base_transfer_freight
{
public
int
id
{
get
;
set
;
}
public
string
bailun_sku
{
get
;
set
;
}
public
string
warehouse_code
{
get
;
set
;
}
/// <summary>
/// 运费单价
/// </summary>
public
string
freight_unit_price
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
public
DateTime
update_time
{
get
;
set
;
}
/// <summary>
/// 计算公式
/// </summary>
public
string
formula
{
get
;
set
;
}
}
public
class
dc_base_transfer_freight_log
{
public
int
id
{
get
;
set
;
}
public
string
bailun_sku
{
get
;
set
;
}
public
string
warehouse_code
{
get
;
set
;
}
/// <summary>
/// 运费单价
/// </summary>
public
decimal
freight_unit_price
{
get
;
set
;
}
/// <summary>
/// 最后更新时间
/// </summary>
public
DateTime
update_time
{
get
;
set
;
}
/// <summary>
/// 历史总运费
/// </summary>
public
decimal
history_freight
{
get
;
set
;
}
/// <summary>
/// 本次运费
/// </summary>
public
decimal
current_freight
{
get
;
set
;
}
/// <summary>
/// 本次入库数量
/// </summary>
public
int
current_count
{
get
;
set
;
}
/// <summary>
/// 本次入库后的总运费
/// </summary>
public
decimal
current_sum_freight
{
get
;
set
;
}
/// <summary>
/// 本次入库的调拨单号
/// </summary>
public
decimal
order_no
{
get
;
set
;
}
/// <summary>
/// 订单总运费
/// </summary>
public
decimal
order_freight
{
get
;
set
;
}
/// <summary>
/// 订单总发货数量
/// </summary>
public
int
order_count
{
get
;
set
;
}
/// <summary>
/// 操作时间
/// </summary>
public
DateTime
action_date
{
get
;
set
;
}
}
}
AutoTurnOver.Purchase.AverageTarget/Program.cs
View file @
3e69056f
...
@@ -31,8 +31,8 @@ namespace AutoTurnOver.Purchase.AverageTarget
...
@@ -31,8 +31,8 @@ namespace AutoTurnOver.Purchase.AverageTarget
//PurchaseAverageTargetServices.CalculationTransfer();
//PurchaseAverageTargetServices.CalculationTransfer();
//report.ResetTransExpectArrivaltime();
//report.ResetTransExpectArrivaltime();
//dc_auto_return_goods_config_dao.NewCalculation();
//dc_auto_return_goods_config_dao.NewCalculation();
//PurchaseAverageTargetServices.Calculation("9
50282301
", days: 360);
//PurchaseAverageTargetServices.Calculation("9
43049004
", days: 360);
PurchaseAverageTargetServices
.
CalculationTransfer
(
"LM-EO-007"
,
360
);
//
PurchaseAverageTargetServices.CalculationTransfer("LM-EO-007", 360);
//PurchaseAverageTargetServices.CalculationTransfer(days: (360 * 3),has_transfer:true);
//PurchaseAverageTargetServices.CalculationTransfer(days: (360 * 3),has_transfer:true);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
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