门店解绑清空一下假营业时间
This commit is contained in:
@@ -1176,6 +1176,8 @@ func DeleteStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
|||||||
if handler := partner.GetPurchasePlatformFromVendorID(vendorID); handler != nil {
|
if handler := partner.GetPurchasePlatformFromVendorID(vendorID); handler != nil {
|
||||||
handler.UpdateStoreCustomID(ctx, storeMap.VendorOrgCode, storeMap.VendorStoreID, utils.Str2Int64WithDefault(storeMap.VendorStoreID, 0))
|
handler.UpdateStoreCustomID(ctx, storeMap.VendorOrgCode, storeMap.VendorStoreID, utils.Str2Int64WithDefault(storeMap.VendorStoreID, 0))
|
||||||
}
|
}
|
||||||
|
storeMap.FakeOpenStart = 0
|
||||||
|
storeMap.FakeOpenStop = 0
|
||||||
num, err = dao.DeleteEntityLogically(db, storeMap, map[string]interface{}{
|
num, err = dao.DeleteEntityLogically(db, storeMap, map[string]interface{}{
|
||||||
model.FieldStatus: model.StoreStatusDisabled,
|
model.FieldStatus: model.StoreStatusDisabled,
|
||||||
}, userName, nil)
|
}, userName, nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user