This commit is contained in:
邹宗楠
2023-09-28 16:09:05 +08:00
parent 1c30384481
commit fb7d26063b
4 changed files with 3 additions and 5 deletions

View File

@@ -227,7 +227,6 @@ func (p *PurchaseHandler) DeleteStore(db *dao.DaoDB, storeID int, userName strin
}
func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName string) (err error) {
globals.SugarLogger.Debugf("=========params := %s", utils.Format4Output(storeID, false))
var name string
if db == nil {
db = dao.GetDB()
@@ -272,7 +271,6 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
"promotion_info": storeDetail.PromoteInfo,
}
if globals.EnableMtwmStoreWrite {
globals.SugarLogger.Debugf("=========params := %s", utils.Format4Output(params, false))
errList.AddErr(mtapi.PoiSave(storeDetail.VendorStoreID, params))
}
if storeDetail.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreStatus) != 0 {