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
cf967224
Commit
cf967224
authored
Mar 09, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a3c92e16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
dc_auto_turnover.cs
AutoTurnOver.DB/dc_auto_turnover.cs
+2
-2
SkuAutoTurnServices.cs
AutoTurnOver.Services/SkuAutoTurnServices.cs
+3
-3
No files found.
AutoTurnOver.DB/dc_auto_turnover.cs
View file @
cf967224
...
...
@@ -1907,8 +1907,8 @@ from dc_base_oms_sku where bailun_sku=@bailun_sku and warehouse_code=@warehouse_
etime1
=
DateTime
.
Now
.
AddDays
(-
1
).
ToDayEnd
(),
},
commandTimeout
:
0
)
??
0
)/
180
;
data
.
freight_stock_amount_ocean
=
data
.
quantity_final_
advise_amount
<=
0
?
0
:((
0
-
data
.
freight_price_ocean_difference_amount
)
/
data
.
quantity_final_advis
e_amount
);
data
.
freight_stock_amount_air
=
data
.
quantity_final_a
dvise_amount
<=
0
?
0
:((
0
-
data
.
freight_price_air_difference_amount
)
/
data
.
quantity_final_advis
e_amount
);
data
.
freight_stock_amount_ocean
=
data
.
quantity_final_
ocean_difference_amount
<=
0
?
0
:((
0
-
data
.
freight_price_ocean_difference_amount
)
/
data
.
quantity_final_ocean_differenc
e_amount
);
data
.
freight_stock_amount_air
=
data
.
quantity_final_a
ir_difference_amount
<=
0
?
0
:((
0
-
data
.
freight_price_air_difference_amount
)
/
data
.
quantity_final_air_differenc
e_amount
);
data
.
freight_stock_amount_ocean_30
=
data
.
quantity_final_advise_amount
<=
0
?
0
:
((
data
.
freight_price_ocean_30_difference
)
/
data
.
quantity_final_advise_amount
);
data
.
freight_stock_amount_air_30
=
data
.
quantity_final_advise_amount
<=
0
?
0
:((
data
.
freight_price_air_30_difference
)
/
data
.
quantity_final_advise_amount
);
...
...
AutoTurnOver.Services/SkuAutoTurnServices.cs
View file @
cf967224
...
...
@@ -715,7 +715,7 @@ namespace AutoTurnOver.Services
"空运周转运费"
,
"实际-海运运费差值"
,
"实际-海运周转采购金额差值"
,
"实际-空运运费差值"
,
"实际-空运周转采购金额差值"
,
"海运-空运运费差值"
,
"海运-空运周转采购金额差值"
,
"安全库存数量"
,
"空运周转天数"
,
"海运周转天数"
,
"30天预测销量海运运费-实际周转运费金额"
,
"30天预测销量空运运费-实际周转运费金额"
,
"30天预测销量空运运费-海运周转运费金额"
,
"差值(实际-海运)/实际周转采购金额占比"
,
"差值(海运-空运)/实际周转采购金额占比"
,
"差值(空运-实际)/实际周转采购金额占比"
,
"海运与实际运费差额/库存差额"
,
"空运与实际运费差额/库存差额"
,
"30天销量海运与实际运费差额/库存
差额"
,
"30天销量空运与实际运费差额/库存差
额"
,
"补海运周转数"
,
"补海运周转金额"
,
"海运与实际运费差额/库存差额"
,
"空运与实际运费差额/库存差额"
,
"30天销量海运与实际运费差额/库存
金额"
,
"30天销量空运与实际运费差额/库存金
额"
,
"补海运周转数"
,
"补海运周转金额"
};
foreach
(
var
item
in
cols
)
{
...
...
@@ -764,8 +764,8 @@ namespace AutoTurnOver.Services
row
[
"差值(空运-实际)/实际周转采购金额占比"
]
=
itemData
.
freight_price_air_difference_amount_radio
;
row
[
"海运与实际运费差额/库存差额"
]
=
itemData
.
freight_stock_amount_ocean
;
row
[
"空运与实际运费差额/库存差额"
]
=
itemData
.
freight_stock_amount_air
;
row
[
"30天销量海运与实际运费差额/库存
差
额"
]
=
itemData
.
freight_stock_amount_ocean_30
;
row
[
"30天销量空运与实际运费差额/库存
差
额"
]
=
itemData
.
freight_stock_amount_air_30
;
row
[
"30天销量海运与实际运费差额/库存
金
额"
]
=
itemData
.
freight_stock_amount_ocean_30
;
row
[
"30天销量空运与实际运费差额/库存
金
额"
]
=
itemData
.
freight_stock_amount_air_30
;
row
[
"补海运周转数"
]
=
itemData
.
ocean_purchase
;
row
[
"补海运周转金额"
]
=
itemData
.
ocean_purchase_amount
;
...
...
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