aa
This commit is contained in:
@@ -1834,7 +1834,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
|
||||
csList, _ := dao.GetStoreCourierList(db, nil, []int{model.VendorIDFengNiao}, model.StoreStatusAll, model.StoreAuditStatusAll)
|
||||
for _, v := range csList {
|
||||
stores, _ := dao.GetStoreList(db, []int{v.StoreID}, nil, nil, nil, "")
|
||||
stores, _ := dao.GetStoreList(db, []int{v.StoreID}, nil, nil, nil, nil, "")
|
||||
store := stores[0]
|
||||
if !strings.Contains(store.Name, "京西菜市-") {
|
||||
api.FnAPI.UpdateStore(&fnpsapi.CreateStoreParam{
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user