Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
afdf144b
Commit
afdf144b
authored
Mar 20, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.7-friend-改为批量
parent
c160d32c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
TSocialFriendServiceImpl.java
...v1/yifu/social/service/impl/TSocialFriendServiceImpl.java
+8
-3
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFriendServiceImpl.java
View file @
afdf144b
...
...
@@ -104,7 +104,7 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
// 获取所有需要反馈的任务id
List
<
TSocialInfo
>
socialList
=
tSocialInfoService
.
getSocialFriendYgsAll
();
List
<
TSocialFriendBackLog
>
logList
;
TSocialFriendBackLog
backLog
;
TSocialFriendBackLog
backLog
=
new
TSocialFriendBackLog
()
;
FriendResult
info
;
List
<
FriendResult
>
resultList
;
Map
<
String
,
FriendResult
>
resultMap
;
...
...
@@ -115,7 +115,7 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
info
=
resultMap
.
get
(
socialInfo
.
getEmpIdcard
());
if
(
info
==
null
)
{
backLog
=
new
TSocialFriendBackLog
();
backLog
.
setSocialId
(
socialInfo
.
get
I
d
());
backLog
.
setSocialId
(
socialInfo
.
get
EmpIdcar
d
());
backLog
.
setRequestId
(
socialInfo
.
getYgsRequestId
());
backLog
.
setType
(
11
);
if
(
Common
.
isNotNull
(
socialInfo
.
getDispatchType
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
socialInfo
.
getDispatchType
()))
{
...
...
@@ -130,6 +130,8 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
}
info
=
resultMap
.
get
(
socialInfo
.
getEmpIdcard
());
}
}
else
{
backLog
.
setSocialId
(
backLog
.
getSocialId
()
+
","
+
socialInfo
.
getEmpIdcard
());
}
if
(
info
!=
null
&&
Common
.
isNotNull
(
info
.
getZt
()))
{
doCore
(
info
,
socialInfo
,
typeFlag
,
user
,
errorMap
);
...
...
@@ -145,11 +147,12 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
if
(
socialYsdList
!=
null
&&
!
socialYsdList
.
isEmpty
())
{
logList
=
new
ArrayList
<>();
resultMap
=
new
HashMap
<>();
backLog
=
new
TSocialFriendBackLog
();
for
(
TSocialInfo
socialInfo
:
socialYsdList
)
{
info
=
resultMap
.
get
(
socialInfo
.
getEmpIdcard
());
if
(
info
==
null
)
{
backLog
=
new
TSocialFriendBackLog
();
backLog
.
setSocialId
(
socialInfo
.
get
I
d
());
backLog
.
setSocialId
(
socialInfo
.
get
EmpIdcar
d
());
backLog
.
setRequestId
(
socialInfo
.
getYsdRequestId
());
backLog
.
setType
(
13
);
if
(
Common
.
isNotNull
(
socialInfo
.
getDispatchType
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
socialInfo
.
getDispatchType
()))
{
...
...
@@ -164,6 +167,8 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
info
=
resultMap
.
get
(
socialInfo
.
getEmpIdcard
());
}
logList
.
add
(
backLog
);
}
else
{
backLog
.
setSocialId
(
backLog
.
getSocialId
()
+
","
+
socialInfo
.
getEmpIdcard
());
}
if
(
info
!=
null
&&
Common
.
isNotNull
(
info
.
getZt
()))
{
doCore
(
info
,
socialInfo
,
typeFlag
,
user
,
errorMap
);
...
...
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