Commit 9e1e0d38 authored by hongguangwu's avatar hongguangwu

MVP1.7.3-shuiyou 增减接口

parent 714eaffe
......@@ -503,7 +503,6 @@ public class SocialFriendConfig {
backLog.setCreateTime(LocalDateTime.now());
backLog.setLogInfo(dataResultList);
// 组装返回结果
getResultToVo(dataResultList, result);
return result;
......
......@@ -93,6 +93,10 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
backLog = new TSocialFriendBackLog();
backLog.setSocialId(socialInfo.getId());
backLog.setRequestId(socialInfo.getYgsRequestId());
backLog.setType(1);
if (Common.isNotNull(socialInfo.getDispatchType()) && CommonConstants.ONE_STRING.equals(socialInfo.getDispatchType())) {
backLog.setType(2);
}
info = socialFriendConfig.getFriendByRequestId(restTemplate, socialInfo.getYgsRequestId(), backLog, socialInfo.getDispatchType());
logList.add(backLog);
if (info != null && Common.isNotNull(info.getZt())) {
......@@ -113,6 +117,10 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
backLog = new TSocialFriendBackLog();
backLog.setSocialId(socialInfo.getId());
backLog.setRequestId(socialInfo.getYsdRequestId());
backLog.setType(3);
if (Common.isNotNull(socialInfo.getDispatchType()) && CommonConstants.ONE_STRING.equals(socialInfo.getDispatchType())) {
backLog.setType(4);
}
info = socialFriendConfig.getFriendByRequestId(restTemplate, socialInfo.getYsdRequestId(), backLog, socialInfo.getDispatchType());
logList.add(backLog);
if (info != null && Common.isNotNull(info.getZt())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment