diff --git a/business/partner/purchase/tiktok_store/warehouse.go b/business/partner/purchase/tiktok_store/warehouse.go index 2ec9ccd37..67af05fdc 100644 --- a/business/partner/purchase/tiktok_store/warehouse.go +++ b/business/partner/purchase/tiktok_store/warehouse.go @@ -283,7 +283,8 @@ func FreightSpecialTreat(vendorOrgCode string, vendorStoreID, storeID int64) err _, err1 := dao.UpdateEntity(db, FreightTemplate, "TemplateID") errList.AddErr(fmt.Errorf("同步进数据库错误信息:%v", err1)) } + endErr := errList.GetErrListAsOne() globals.SugarLogger.Info("utils.IsNil(errList)==============", utils.IsNil(errList)) - globals.SugarLogger.Debugf("errList===============%s", utils.Format4Output(errList, false)) - return errors.New(fmt.Sprintf("errList=%s,err=%v", utils.Format4Output(errList, false), err)) + globals.SugarLogger.Debugf("errList===============%s\n,endErr========%v", utils.Format4Output(errList, false), endErr) + return errors.New(fmt.Sprintf("endErr============%s", endErr)) }