Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c947fb38
authored
Jan 21, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sql修改
1 parent
aefbfb49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeAllocateCustomer.java
sql/link-wechat.sql
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeAllocateCustomer.java
View file @
c947fb3
...
...
@@ -40,5 +40,19 @@ public class WeAllocateCustomer
/** 原跟进成员的userid */
private
String
handoverUserid
;
/**
* 接替状态, 1-接替完毕 2-等待接替 3-客户拒绝 4-接替成员客户达到上限 5-无接替记录
*/
private
Integer
status
;
/**
* 接替客户的时间,如果是等待接替状态,则为未来的自动接替时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
takeoverTime
;
/**
* 失败原因
*/
private
String
failReason
;
}
sql/link-wechat.sql
View file @
c947fb3
...
...
@@ -5632,8 +5632,11 @@ CREATE TABLE `we_allocate_customer` (
`external_userid`
varchar
(
32
)
NOT
NULL
COMMENT
'被分配的客户id'
,
`allocate_time`
datetime
NOT
NULL
COMMENT
'分配时间'
,
`handover_userid`
varchar
(
32
)
DEFAULT
NULL
COMMENT
'原跟进成员的userid'
,
`status`
tinyint
(
4
)
DEFAULT
'2'
COMMENT
'接替状态, 1-接替完毕 2-等待接替 3-客户拒绝 4-接替成员客户达到上限 5-无接替记录'
,
`takeover_time`
datetime
DEFAULT
NULL
COMMENT
'接替客户的时间,如果是等待接替状态,则为未来的自动接替时间'
,
`fail_reason`
varchar
(
50
)
DEFAULT
NULL
COMMENT
'失败原因'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'离职分配的客户列表'
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
ROW_FORMAT
=
DYNAMIC
COMMENT
=
'离职分配的客户列表'
-- ----------------------------
-- Records of we_allocate_customer
Write
Preview
Markdown
is supported
Attach a file
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 post a comment