Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
bom_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fcadb0ae
authored
Jul 29, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
4a7ef484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
internal/logic/goods.go
internal/logic/goods.go
View file @
fcadb0ae
...
...
@@ -59,13 +59,12 @@ func UpdateGoodsData(goodsMapList []GoodsMap) (err error) {
}
}
}
err
=
BatchSaveMatchings
(
bomId
,
bomMatching
List
)
//先找出没有匹配到商品的进行批量修改状态
err
=
batchUpdateItemStatus
(
bomId
,
noGoodsInfoItemId
List
)
if
err
!=
nil
{
return
}
//还要找出没有匹配到商品的进行批量修改状态
err
=
batchUpdateItemStatus
(
bomId
,
noGoodsInfoItemIdList
)
err
=
BatchSaveMatchings
(
bomId
,
bomMatchingList
)
if
err
!=
nil
{
return
}
...
...
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