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
30bdfd92
Commit
30bdfd92
authored
Mar 23, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bf7d8583
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
purchase_advise.cs
AutoTurnOver.DB/purchase_advise.cs
+5
-0
No files found.
AutoTurnOver.DB/purchase_advise.cs
View file @
30bdfd92
...
@@ -742,6 +742,11 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware
...
@@ -742,6 +742,11 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware
// 把需要监控库容的按库容调整
// 把需要监控库容的按库容调整
foreach
(
var
item
in
not_mother_datas
.
Where
(
s
=>
dc_base_storage_capacity_configs
.
Any
(
v
=>
s
.
bailun_sku_warehouse_code
==
v
.
bailun_sku_warehouse_code
)))
foreach
(
var
item
in
not_mother_datas
.
Where
(
s
=>
dc_base_storage_capacity_configs
.
Any
(
v
=>
s
.
bailun_sku_warehouse_code
==
v
.
bailun_sku_warehouse_code
)))
{
{
if
(
item
.
bailun_sku_warehouse_code
==
"220912001ESFBABLEM"
||
item
.
bailun_sku_warehouse_code
==
"948890401FMUSFBA"
||
item
.
bailun_sku_warehouse_code
==
"948890401MMDUSFBA"
)
{
}
var
storageCapacity
=
(
int
)
Math
.
Ceiling
((
skuStorageCapacityList
.
FirstOrDefault
(
s
=>
s
.
bailun_sku_warehouse_code
==
item
.
bailun_sku_warehouse_code
)
??
new
dc_base_storage_capacity
()).
stock
);
var
storageCapacity
=
(
int
)
Math
.
Ceiling
((
skuStorageCapacityList
.
FirstOrDefault
(
s
=>
s
.
bailun_sku_warehouse_code
==
item
.
bailun_sku_warehouse_code
)
??
new
dc_base_storage_capacity
()).
stock
);
var
quantity_final_advise
=
item
.
quantity_final_advise
;
var
quantity_final_advise
=
item
.
quantity_final_advise
;
item
.
quantity_final_advise
=
Math
.
Min
(
quantity_final_advise
,
storageCapacity
);
item
.
quantity_final_advise
=
Math
.
Min
(
quantity_final_advise
,
storageCapacity
);
...
...
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