- sync sku to ebai, still have bugs.

This commit is contained in:
gazebo
2018-09-26 22:30:19 +08:00
parent 49f2d0c969
commit 73a5f7241e
6 changed files with 349 additions and 108 deletions

View File

@@ -105,9 +105,9 @@ func GetEntity(db *DaoDB, item interface{}, cols ...string) (err error) {
if db == nil {
db = GetDB()
}
err = utils.CallFuncLogError(func() error {
err = utils.CallFuncLogErrorIgnore(func() error {
return db.db.Read(item, cols...)
}, reflect.TypeOf(item).Name())
}, reflect.TypeOf(item).Name(), orm.ErrNoRows)
return err
}