Commit 1147eebc authored by luzhuang's avatar luzhuang

long直传

parent b048875d
...@@ -13,6 +13,6 @@ public class MTUserGetsAccountReqDTO { ...@@ -13,6 +13,6 @@ public class MTUserGetsAccountReqDTO {
private String corpId; private String corpId;
private List<String> userIds; private List<Long> userIds;
} }
...@@ -138,13 +138,13 @@ public class MTNotificationApiRequestClient { ...@@ -138,13 +138,13 @@ public class MTNotificationApiRequestClient {
return false; return false;
} }
List<String> haveJurisAccountIds = new ArrayList<>(); List<String> haveJurisAccountIds = new ArrayList<>();
List<String> getUserAccountList = new ArrayList<>(); // List<String> getUserAccountList = new ArrayList<>();
List<String> getUserAccountLongList = (List<String>)haveJurisList.getData(); List<Long> getUserAccountLongList = (List<Long>)haveJurisList.getData();
getUserAccountLongList.forEach(getUserAccount ->{ // getUserAccountLongList.forEach(getUserAccount ->{
getUserAccountList.add(String.valueOf(getUserAccount)); // getUserAccountList.add(String.valueOf(getUserAccount));
}); // });
log.debug("----------------------通知dto-userIds----------------------"+getUserAccountList); log.debug("----------------------通知dto-userIds----------------------"+getUserAccountLongList);
MTUserGetsAccountReqDTO mtUserGetsReqDTO = new MTUserGetsAccountReqDTO(message.getCorpId(),getUserAccountList); MTUserGetsAccountReqDTO mtUserGetsReqDTO = new MTUserGetsAccountReqDTO(message.getCorpId(),getUserAccountLongList);
log.debug("----------------------通知-调用accountGetUserHead接口----------------------"+mtUserGetsReqDTO); log.debug("----------------------通知-调用accountGetUserHead接口----------------------"+mtUserGetsReqDTO);
List<MTAccountIdRspDTO> mtAccountIdRspDTOList = mtCotactApiRequestClient.accountGetUserHead(mtUserGetsReqDTO); List<MTAccountIdRspDTO> mtAccountIdRspDTOList = mtCotactApiRequestClient.accountGetUserHead(mtUserGetsReqDTO);
log.debug("----------------------通知-获取用户头像结果----------------------"+mtAccountIdRspDTOList); log.debug("----------------------通知-获取用户头像结果----------------------"+mtAccountIdRspDTOList);
......
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