This commit is contained in:
richboo111
2023-02-14 14:33:56 +08:00
parent 7d058c82f4
commit b4111c7270
2 changed files with 5 additions and 1 deletions

View File

@@ -1616,6 +1616,7 @@ func DeleteStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
if err = dao.GetEntity(db, storeMap, model.FieldStoreID, model.FieldVendorID, model.FieldDeletedAt); err == nil {
if handler := partner.GetPurchasePlatformFromVendorID(vendorID); handler != nil {
handler.UpdateStoreCustomID(ctx, storeMap.VendorOrgCode, storeMap.VendorStoreID, utils.Str2Int64WithDefault(storeMap.VendorStoreID, 0))
globals.SugarLogger.Debugf("DeleteStoreVendorMap storeMap.VendorStoreID ====%d", storeMap.VendorStoreID)
}
storeMap.FakeOpenStart = 0
storeMap.FakeOpenStop = 0