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
5a2043cc
Commit
5a2043cc
authored
Mar 22, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
子sku分摊库容需求的时候,优先使用主sku的库容
parent
079584c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
purchase_advise.cs
AutoTurnOver.DB/purchase_advise.cs
+1
-1
No files found.
AutoTurnOver.DB/purchase_advise.cs
View file @
5a2043cc
...
@@ -654,7 +654,7 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware
...
@@ -654,7 +654,7 @@ and t1.quantity_init_advise>=0 and ( t3.buyer_name in ('张莹霞1') and t1.ware
{
{
foreach
(
var
item
in
mother_datas
)
foreach
(
var
item
in
mother_datas
)
{
{
var
itemMaps
=
maps
.
Where
(
s
=>
s
.
mother_sku_warehouse_code
==
item
.
bailun_sku_warehouse_code
).
ToList
();
var
itemMaps
=
maps
.
Where
(
s
=>
s
.
mother_sku_warehouse_code
==
item
.
bailun_sku_warehouse_code
).
OrderByDescending
(
s
=>
s
.
is_main
).
ToList
();
if
(
itemMaps
!=
null
&&
itemMaps
.
Count
>=
1
)
if
(
itemMaps
!=
null
&&
itemMaps
.
Count
>=
1
)
{
{
// 查询这些子sku的库容
// 查询这些子sku的库容
...
...
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