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
a9ba5692
authored
Jul 26, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整快速找料任务
parent
d53280a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
cmd/task/find_goods/main.go
internal/model/invoice_com_user.go
cmd/task/find_goods/main.go
View file @
a9ba5692
...
@@ -105,8 +105,8 @@ func setFindGoods(status, task_id, task_type, task_display_degree int) {
...
@@ -105,8 +105,8 @@ func setFindGoods(status, task_id, task_type, task_display_degree int) {
current_time
:=
time
.
Now
()
.
Unix
()
// 当前时间
current_time
:=
time
.
Now
()
.
Unix
()
// 当前时间
// 查看用户是否分配
// 查看用户是否分配
var
salesman
model
.
Salesman
var
salesman
model
.
InvoiceComUser
db
.
Get
(
&
salesman
,
"select * from lie_
salesman where user_id = ?"
,
feedback
.
Outter_Ui
d
)
db
.
Get
(
&
salesman
,
"select * from lie_
invoice_com_user where user_id = ?"
,
feedback
.
User_I
d
)
if
salesman
.
Sale_Id
==
0
{
// 若未分配,则从客服池获取
if
salesman
.
Sale_Id
==
0
{
// 若未分配,则从客服池获取
var
kefu
model
.
Kefu
var
kefu
model
.
Kefu
...
...
internal/model/invoice_com_user.go
0 → 100644
View file @
a9ba5692
package
model
type
InvoiceComUser
struct
{
Id
int
`json:"id" db:"id"`
Com_Id
int
`json:"com_id" db:"com_id"`
User_Id
int
`json:"user_id" db:"user_id"`
Sale_Id
int
`json:"sale_id" db:"sale_id"`
Status
int
`json:"status" db:"status"`
Sale_Type
int
`json:"sale_type" db:"sale_type"`
Create_Time
int
`json:"create_time" db:"create_time"`
Update_Time
int
`json:"update_time" db:"update_time"`
}
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