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
652cec10
Commit
652cec10
authored
Jun 25, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签拆分加好友通知的
parent
edb4598e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+11
-7
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
652cec10
...
@@ -783,7 +783,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -783,7 +783,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
this
.
saveExternalClerk
(
memberId
,
staffId
,
dto
,
staffClerkRelationDTO
,
1
,
0
);
this
.
saveExternalClerk
(
memberId
,
staffId
,
dto
,
staffClerkRelationDTO
,
1
,
0
);
// this.sendWelcome(dto, qwDTO, enterpriseId, staffId, clerkId,memberId);
// this.sendWelcome(dto, qwDTO, enterpriseId, staffId, clerkId,memberId);
//同步好友标签
//同步好友标签
this
.
pushTagSync
(
memberId
,
wxEnterpriseId
,
enterpriseId
,
null
);
this
.
pushTagSync
(
memberId
,
wxEnterpriseId
,
enterpriseId
,
null
,
dto
.
isFlush
()
);
//回调给会员,更新是否为企微好友
//回调给会员,更新是否为企微好友
log
.
info
(
"通知会员 合并会员后更新为企微好友,memberId:{}"
,
memberId
);
log
.
info
(
"通知会员 合并会员后更新为企微好友,memberId:{}"
,
memberId
);
// this.memberApiService.updateMemberQywxFlag(enterpriseId, memberId, 1);
// this.memberApiService.updateMemberQywxFlag(enterpriseId, memberId, 1);
...
@@ -1237,7 +1237,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1237,7 +1237,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
return
;
return
;
}
}
pushTagSync
(
dto
.
getExternalUserid
(),
wxUserId
pushTagSync
(
dto
.
getExternalUserid
(),
wxUserId
,
GicQywxSyncTypeEnum
.
FRIEND_TAG_SYNC
.
getType
(),
QywxSyncTaskTypeEnum
.
MEMBER_SYNC
.
getType
(),
wxEnterprise
.
getWxEnterpriseId
(),
null
,
null
);
,
GicQywxSyncTypeEnum
.
FRIEND_TAG_SYNC
.
getType
(),
QywxSyncTaskTypeEnum
.
MEMBER_SYNC
.
getType
(),
wxEnterprise
.
getWxEnterpriseId
(),
null
,
null
,
true
);
}
}
@Override
@Override
...
@@ -1591,7 +1591,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1591,7 +1591,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
this
.
saveExternalClerk
(
memberId
,
staffId
,
unionDTO
,
staffClerkRelation
,
statusFlag
,
1
);
this
.
saveExternalClerk
(
memberId
,
staffId
,
unionDTO
,
staffClerkRelation
,
statusFlag
,
1
);
if
(
StringUtils
.
isNotBlank
(
memberId
))
{
if
(
StringUtils
.
isNotBlank
(
memberId
))
{
if
(
null
==
RedisUtil
.
getCache
(
"zhuan_self"
))
{
if
(
null
==
RedisUtil
.
getCache
(
"zhuan_self"
))
{
this
.
pushTagSync
(
memberId
,
wxEnterpriseId
,
enterpriseId
,
dto
.
getExternalUseridInfo
());
this
.
pushTagSync
(
memberId
,
wxEnterpriseId
,
enterpriseId
,
dto
.
getExternalUseridInfo
()
,
true
);
}
else
{
}
else
{
log
.
info
(
"不同步标签"
);
log
.
info
(
"不同步标签"
);
}
}
...
@@ -1624,7 +1624,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1624,7 +1624,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
/**
/**
* 同步
* 同步
*/
*/
private
void
pushTagSync
(
String
dataId
,
String
taskId
,
int
syncType
,
int
taskType
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
externalUseridInfo
)
{
private
void
pushTagSync
(
String
dataId
,
String
taskId
,
int
syncType
,
int
taskType
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
externalUseridInfo
,
boolean
flushFlag
)
{
QywxTagSyncInfoPojo
pojo
=
new
QywxTagSyncInfoPojo
();
QywxTagSyncInfoPojo
pojo
=
new
QywxTagSyncInfoPojo
();
pojo
.
setDataId
(
dataId
);
pojo
.
setDataId
(
dataId
);
pojo
.
setTaskId
(
taskId
);
pojo
.
setTaskId
(
taskId
);
...
@@ -1646,7 +1646,11 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1646,7 +1646,11 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
delay
=
90
;
delay
=
90
;
log
.
info
(
"美邦延迟处理"
);
log
.
info
(
"美邦延迟处理"
);
}
}
clientInstance
.
sendMessage
(
"qywxTagSyncDeal"
,
JSONObject
.
toJSONString
(
pojo
),
delay
);
String
mqName
=
"qywxTagSyncDeal"
;
if
(!
flushFlag
)
{
mqName
=
"qywxTagSyncDealAddFriend"
;
}
clientInstance
.
sendMessage
(
mqName
,
JSONObject
.
toJSONString
(
pojo
),
delay
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
info
(
"异常:{}"
,
e
);
log
.
info
(
"异常:{}"
,
e
);
}
}
...
@@ -1655,8 +1659,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1655,8 +1659,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
/**
/**
* 同步
* 同步
*/
*/
private
void
pushTagSync
(
String
memberId
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
externalUseridInfo
)
{
private
void
pushTagSync
(
String
memberId
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
externalUseridInfo
,
boolean
flushFlag
)
{
this
.
pushTagSync
(
memberId
,
"-1"
,
GicQywxSyncTypeEnum
.
SINGLE_WXENT_MEMNER_SYNC
.
getType
(),
QywxSyncTaskTypeEnum
.
MEMBER_SYNC
.
getType
(),
wxEnterpriseId
,
enterpriseId
,
externalUseridInfo
);
this
.
pushTagSync
(
memberId
,
"-1"
,
GicQywxSyncTypeEnum
.
SINGLE_WXENT_MEMNER_SYNC
.
getType
(),
QywxSyncTaskTypeEnum
.
MEMBER_SYNC
.
getType
(),
wxEnterpriseId
,
enterpriseId
,
externalUseridInfo
,
flushFlag
);
}
}
private
String
saveMemberUnionTable
(
ExternalUserDTO
dto
)
{
private
String
saveMemberUnionTable
(
ExternalUserDTO
dto
)
{
...
...
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