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
64f2b670
Commit
64f2b670
authored
Nov 26, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
95de77ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
FriendSyncOperation.java
...m/gic/haoban/manage/service/task/FriendSyncOperation.java
+2
-2
SelfFriendSyncOperation.java
...c/haoban/manage/service/task/SelfFriendSyncOperation.java
+1
-9
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/FriendSyncOperation.java
View file @
64f2b670
...
...
@@ -69,7 +69,7 @@ public class FriendSyncOperation implements BaseSyncOperation {
json
.
put
(
"name"
,
pojo
.
getName
());
json
.
put
(
"externalUserId"
,
pojo
.
getExternalUserId
());
json
.
put
(
"addCreateTime"
,
pojo
.
getAddCreateTime
());
dealSuccess
(
taskId
,
externalUserId
,
JSON
.
toJSONString
(
pojo
),
wxEnterpriseId
);
dealSuccess
(
taskId
,
externalUserId
,
JSON
.
toJSONString
(
json
),
wxEnterpriseId
);
try
{
checkStaffTask
(
taskId
,
wxUserId
);
}
catch
(
Exception
e
)
{
...
...
@@ -112,7 +112,7 @@ public class FriendSyncOperation implements BaseSyncOperation {
String
name
=
json
.
getName
();
String
key
=
addCreateTime
+
name
;
String
unionId
=
json
.
getUnionId
();
String
wxEnterpriseId
=
json
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
tabHaobanPreDealLog
.
getWxEnterpriseId
();
ExternalUserDTO
dto
=
map
.
get
(
key
);
if
(
dto
!=
null
){
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/SelfFriendSyncOperation.java
View file @
64f2b670
...
...
@@ -122,20 +122,12 @@ public class SelfFriendSyncOperation implements BaseSyncOperation{
String
name
=
json
.
getName
();
String
key
=
addCreateTime
+
name
;
String
unionId
=
json
.
getUnionId
();
String
clerkId
=
json
.
getClerkId
();
String
enterpriseId
=
json
.
getEnterpriseId
();
String
memberId
=
json
.
getMemberId
();
String
storeId
=
json
.
getStoreId
();
String
wxEnterpriseId
=
json
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
tabHaobanPreDealLog
.
getWxEnterpriseId
();
ExternalUserDTO
dto
=
map
.
get
(
key
);
if
(
dto
!=
null
){
if
(
tabHaobanPreDealLog
.
getDataType
()
==
PreDealTypeEnum
.
self_friend
.
getVal
()){
dto
.
setUnionId
(
unionId
);
dto
.
setClerkId
(
clerkId
);
dto
.
setEnterpriseId
(
enterpriseId
);
dto
.
setMemberId
(
memberId
);
dto
.
setStoreId
(
storeId
);
}
else
if
(
tabHaobanPreDealLog
.
getDataType
()
==
PreDealTypeEnum
.
friend
.
getVal
()){
dto
.
setExternalUserId
(
tabHaobanPreDealLog
.
getDataId
());
}
...
...
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