This commit is contained in:
苏尹岚
2021-01-22 10:07:54 +08:00
parent 519592bc31
commit 56d9e1b643
2 changed files with 3 additions and 3 deletions

View File

@@ -1268,7 +1268,7 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) {
}
for _, v := range order.Skus {
if bagSkuMap[v.SkuID] != 0 {
stores, _ := dao.GetStoreList(db, []int{order.FromStoreID}, nil, nil, nil, "")
stores, _ := dao.GetStoreList(db, []int{order.FromStoreID}, nil, nil, nil, nil, "")
if len(stores) > 0 {
store := stores[0]
store.IsBoughtMatter = model.YES
@@ -1375,7 +1375,7 @@ func CancelMatterOrder(db *dao.DaoDB, order *model.GoodsOrder, reason string) (e
}
}
}
stores, _ := dao.GetStoreList(db, []int{order.FromStoreID}, nil, nil, nil, "")
stores, _ := dao.GetStoreList(db, []int{order.FromStoreID}, nil, nil, nil, nil, "")
if len(stores) > 0 {
//如果这周还买过其他物料,则不刷新是否购买标志
var (