Commit fcadb0ae by mushishixian

优化

parent 4a7ef484
Showing with 3 additions and 4 deletions
......@@ -59,13 +59,12 @@ func UpdateGoodsData(goodsMapList []GoodsMap) (err error) {
}
}
}
err = BatchSaveMatchings(bomId, bomMatchingList)
//先找出没有匹配到商品的进行批量修改状态
err = batchUpdateItemStatus(bomId, noGoodsInfoItemIdList)
if err != nil {
return
}
//还要找出没有匹配到商品的进行批量修改状态
err = batchUpdateItemStatus(bomId, noGoodsInfoItemIdList)
err = BatchSaveMatchings(bomId, bomMatchingList)
if err != nil {
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment