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 7d01b7fd
authored
Nov 25, 2021
by
linkwechat8856@163.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户相关bug修复
1 parent
2c9f3506
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeCustomerDetail.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerServiceImpl.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeCustomerDetail.java
View file @
7d01b7f
package
com
.
linkwechat
.
wecom
.
domain
;
package
com
.
linkwechat
.
wecom
.
domain
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -37,6 +38,7 @@ public class WeCustomerDetail {
...
@@ -37,6 +38,7 @@ public class WeCustomerDetail {
private
String
qq
;
private
String
qq
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
birthday
;
private
Date
birthday
;
private
String
position
;
private
String
position
;
...
@@ -69,7 +71,11 @@ public class WeCustomerDetail {
...
@@ -69,7 +71,11 @@ public class WeCustomerDetail {
//添加方式
//添加方式
private
Integer
addMethod
;
private
Integer
addMethod
;
//跟进人id
private
String
trackUserId
;
//添加时间
//添加时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
firstAddTime
;
private
Date
firstAddTime
;
//跟进状态
//跟进状态
...
@@ -87,6 +93,7 @@ public class WeCustomerDetail {
...
@@ -87,6 +93,7 @@ public class WeCustomerDetail {
private
String
groupName
;
private
String
groupName
;
//加入时间
//加入时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
joinTime
;
private
Date
joinTime
;
//群主
//群主
...
...
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerServiceImpl.java
View file @
7d01b7f
...
@@ -650,7 +650,6 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
...
@@ -650,7 +650,6 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
List
<
WeCustomerList
>
weCustomerList
=
this
.
findWeCustomerList
(
List
<
WeCustomerList
>
weCustomerList
=
this
.
findWeCustomerList
(
WeCustomerList
.
builder
()
WeCustomerList
.
builder
()
.
externalUserid
(
externalUserid
)
.
externalUserid
(
externalUserid
)
.
firstUserId
(
userId
)
.
build
()
.
build
()
);
);
if
(
CollectionUtil
.
isNotEmpty
(
weCustomerList
)){
if
(
CollectionUtil
.
isNotEmpty
(
weCustomerList
)){
...
@@ -662,6 +661,7 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
...
@@ -662,6 +661,7 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
weCustomerList
.
stream
().
forEach
(
k
->{
weCustomerList
.
stream
().
forEach
(
k
->{
trackUsers
.
add
(
WeCustomerDetail
.
TrackUser
.
builder
()
trackUsers
.
add
(
WeCustomerDetail
.
TrackUser
.
builder
()
.
addMethod
(
k
.
getAddMethod
())
.
addMethod
(
k
.
getAddMethod
())
.
trackUserId
(
k
.
getFirstUserId
())
.
firstAddTime
(
k
.
getFirstAddTime
())
.
firstAddTime
(
k
.
getFirstAddTime
())
.
trackState
(
k
.
getTrackState
())
.
trackState
(
k
.
getTrackState
())
.
userName
(
k
.
getUserName
())
.
userName
(
k
.
getUserName
())
...
...
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