Commit 0c260796 by 孙龙

up

parent 273ed267
Showing with 1 additions and 1 deletions
...@@ -72,7 +72,7 @@ func AddTmplRelations(relations TemplateRelation) error{ ...@@ -72,7 +72,7 @@ func AddTmplRelations(relations TemplateRelation) error{
userInfo := UserInfo{} userInfo := UserInfo{}
err = db.CmsDB.Get(&userInfo,"select userId from user_info where name = ? ",fmt.Sprintf(relations.CreateUser)); err = db.CmsDB.Get(&userInfo,"select userId from user_info where name = ? ",fmt.Sprintf(relations.CreateUser));
if err != nil{ if err != nil{
return errors.New(fmt.Sprintf("没找到对应的销售员: %s ",relations.CreateUser)) return errors.New(fmt.Sprintf("没找到对应的销售员: %s error %s",relations.CreateUser,err))
} }
tx, _ := db.LabelDB.Beginx() tx, _ := db.LabelDB.Beginx()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment