Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
bd5c9812
Commit
bd5c9812
authored
Dec 06, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
d5b2beb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
TabGroupChatUser.java
...c/haoban/manage/service/entity/chat/TabGroupChatUser.java
+10
-1
GroupChatServiceImpl.java
...anage/service/service/chat/impl/GroupChatServiceImpl.java
+6
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/chat/TabGroupChatUser.java
View file @
bd5c9812
...
@@ -34,6 +34,7 @@ public class TabGroupChatUser implements Serializable{
...
@@ -34,6 +34,7 @@ public class TabGroupChatUser implements Serializable{
private
String
memberId
;
private
String
memberId
;
/**邀请者*/
/**邀请者*/
private
String
invitorUserId
;
private
String
invitorUserId
;
private
String
invitorUserName
;
private
java
.
util
.
Date
createTime
;
private
java
.
util
.
Date
createTime
;
private
java
.
util
.
Date
updateTime
;
private
java
.
util
.
Date
updateTime
;
/**1是0否*/
/**1是0否*/
...
@@ -52,7 +53,15 @@ public class TabGroupChatUser implements Serializable{
...
@@ -52,7 +53,15 @@ public class TabGroupChatUser implements Serializable{
private
String
joinRemark
;
private
String
joinRemark
;
private
String
joinState
;
private
String
joinState
;
public
void
setChatUserId
(
Long
chatUserId
){
public
String
getInvitorUserName
()
{
return
invitorUserName
;
}
public
void
setInvitorUserName
(
String
invitorUserName
)
{
this
.
invitorUserName
=
invitorUserName
;
}
public
void
setChatUserId
(
Long
chatUserId
){
this
.
chatUserId
=
chatUserId
;
this
.
chatUserId
=
chatUserId
;
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/chat/impl/GroupChatServiceImpl.java
View file @
bd5c9812
...
@@ -470,7 +470,12 @@ public class GroupChatServiceImpl implements GroupChatService {
...
@@ -470,7 +470,12 @@ public class GroupChatServiceImpl implements GroupChatService {
user
.
setCreateTime
(
new
Date
());
user
.
setCreateTime
(
new
Date
());
user
.
setUpdateTime
(
new
Date
());
user
.
setUpdateTime
(
new
Date
());
if
(
null
!=
member
.
getInvitor
())
{
if
(
null
!=
member
.
getInvitor
())
{
user
.
setInvitorUserId
(
member
.
getInvitor
().
getUserid
());
String
invitorId
=
member
.
getInvitor
().
getUserid
();
user
.
setInvitorUserId
(
invitorId
);
TabHaobanStaff
invitor
=
this
.
staffMapper
.
selectByUserIdAndEnterpriseId
(
invitorId
,
wxEnterpriseId
);
if
(
null
!=
invitor
)
{
user
.
setInvitorUserName
(
invitor
.
getStaffName
());
}
}
}
this
.
matchGicMember
(
wxEnterpriseId
,
enterpriseId
,
member
.
getUnionid
(),
userId
,
user
);
this
.
matchGicMember
(
wxEnterpriseId
,
enterpriseId
,
member
.
getUnionid
(),
userId
,
user
);
userList
.
add
(
user
);
userList
.
add
(
user
);
...
...
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