diff --git a/business/partner/purchase/mtwm/store.go b/business/partner/purchase/mtwm/store.go index be3c62e39..3012fbd22 100644 --- a/business/partner/purchase/mtwm/store.go +++ b/business/partner/purchase/mtwm/store.go @@ -230,6 +230,7 @@ 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("=========storeID := %s", utils.Format4Output(storeID, false)) if db == nil { db = dao.GetDB() } @@ -279,7 +280,9 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin params["address"] = storeDetail.YbStorePrefix } + globals.SugarLogger.Debugf("=========data := %s", utils.Format4Output(params, false)) if globals.EnableMtwmStoreWrite { + globals.SugarLogger.Debugf("=========data := %s", utils.Format4Output(1111111, false)) errList.AddErr(mtapi.PoiSave(storeDetail.VendorStoreID, params)) } if storeDetail.SyncStatus&(model.SyncFlagNewMask|model.SyncFlagStoreStatus) != 0 {