Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0c260796
authored
May 22, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
273ed267
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
dal/label/label.go
dal/label/label.go
View file @
0c260796
...
...
@@ -72,7 +72,7 @@ func AddTmplRelations(relations TemplateRelation) error{
userInfo
:=
UserInfo
{}
err
=
db
.
CmsDB
.
Get
(
&
userInfo
,
"select userId from user_info where name = ? "
,
fmt
.
Sprintf
(
relations
.
CreateUser
));
if
err
!=
nil
{
return
errors
.
New
(
fmt
.
Sprintf
(
"没找到对应的销售员: %s
"
,
relations
.
CreateUse
r
))
return
errors
.
New
(
fmt
.
Sprintf
(
"没找到对应的销售员: %s
error %s"
,
relations
.
CreateUser
,
er
r
))
}
tx
,
_
:=
db
.
LabelDB
.
Beginx
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment