Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
crm_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
21f50562
authored
Sep 16, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整
parent
d07056b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
cmd/task/find_goods/main.go
cmd/task/find_goods/main.go
View file @
21f50562
...
...
@@ -72,7 +72,7 @@ func setFindGoods(status, task_id, task_type, task_display_degree int) {
db
:=
dao
.
GetNewDb
()
// 获取快速找料的用户
row
,
err
:=
db
.
Queryx
(
"select * from lie_feedback where type = ? and is_add_task = ? order by id desc"
,
7
,
0
)
row
,
err
:=
db
.
Queryx
(
"select * from lie_feedback where type = ? and is_add_task = ? order by id desc
limit 50
"
,
7
,
0
)
defer
db
.
Close
()
if
err
!=
nil
{
...
...
@@ -99,6 +99,7 @@ func setFindGoods(status, task_id, task_type, task_display_degree int) {
db
.
Get
(
&
task_info
,
"select * from lie_task_info where user_id = ? and status = ? and (task_type = ? or task_type = ?) limit 1"
,
feedback
.
Outter_Uid
,
1
,
1
,
4
)
if
task_info
.
Id
!=
0
{
db
.
Exec
(
"update lie_feedback set is_add_task = ? where id = ?"
,
1
,
feedback
.
Id
)
continue
}
...
...
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