Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
7a60ce6a
Commit
7a60ce6a
authored
Jul 30, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
52e8e4f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
WarehouseOutController.cs
Mall.WebApi/Controllers/Property/WarehouseOutController.cs
+1
-1
No files found.
Mall.WebApi/Controllers/Property/WarehouseOutController.cs
View file @
7a60ce6a
...
...
@@ -157,7 +157,7 @@ namespace Mall.WebApi.Controllers.Property
var
orderGoodsDetailModel
=
orderGoodsList
.
Where
(
x
=>
x
.
Id
==
item
.
OrderGoodsId
).
FirstOrDefault
();
if
(
item
.
NewSpecificationSort
!=
item
.
SpecificationSort
)
//修改了规格的判断新规格是否在物料中存在
{
var
materialModel
=
materialList
.
Where
(
x
=>
x
.
GoodsId
==
orderGoodsDetailModel
.
GoodsId
&&
x
.
SpecificationKey
==
item
.
NewSpecificationSort
).
FirstOrDefault
();
var
materialModel
=
materialList
.
Where
(
x
=>
x
.
GoodsId
==
item
.
New
GoodsId
&&
x
.
SpecificationKey
==
item
.
NewSpecificationSort
).
FirstOrDefault
();
var
orderGoodsDetail
=
orderGoodsList
.
Where
(
x
=>
x
.
Id
==
item
.
OrderGoodsId
).
FirstOrDefault
();
if
(
materialModel
==
null
)
...
...
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