1
This commit is contained in:
@@ -4750,6 +4750,7 @@ func UpdateVendorStoreBussinessStatus(ctx *jxcontext.Context, storeID, vendorID,
|
|||||||
if storeMaps, _ := dao.GetStoresMapList(db, []int{vendorID}, []int{storeID}, nil, model.StoreStatusAll,
|
if storeMaps, _ := dao.GetStoresMapList(db, []int{vendorID}, []int{storeID}, nil, model.StoreStatusAll,
|
||||||
model.StoreIsSyncAll, "", "", ""); len(storeMaps) > 0 {
|
model.StoreIsSyncAll, "", "", ""); len(storeMaps) > 0 {
|
||||||
storeMaps[0].IsOnline = status
|
storeMaps[0].IsOnline = status
|
||||||
|
storeMaps[0].Status = status
|
||||||
dao.UpdateEntity(db, storeMaps[0], "IsOnline")
|
dao.UpdateEntity(db, storeMaps[0], "IsOnline")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user