特殊处理err
This commit is contained in:
@@ -1794,9 +1794,10 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
||||
}
|
||||
}
|
||||
}
|
||||
globals.SugarLogger.Info("utils.IsNil(errList)==============", utils.IsNil(errList))
|
||||
globals.SugarLogger.Debug("errList============", utils.Format4Output(errList, true))
|
||||
return num, errors.New(fmt.Sprintf("errList=%v,err=%v", utils.Format4Output(errList, true), err))
|
||||
errList.AddErr(err)
|
||||
endErr := errList.GetErrListAsOne()
|
||||
globals.SugarLogger.Info("endErr==============", endErr)
|
||||
return num, endErr
|
||||
}
|
||||
|
||||
func DeleteStore(ctx *jxcontext.Context, storeID int) (num int64, err error) {
|
||||
|
||||
Reference in New Issue
Block a user