门店解绑清空一下假营业时间

This commit is contained in:
苏尹岚
2020-04-03 10:31:53 +08:00
parent 15a0640977
commit 94dfe7cbbb

View File

@@ -1176,6 +1176,8 @@ func DeleteStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
if handler := partner.GetPurchasePlatformFromVendorID(vendorID); handler != nil {
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{}{
model.FieldStatus: model.StoreStatusDisabled,
}, userName, nil)