Commit 7b29d7fe authored by luzhuang's avatar luzhuang

通知log

parent 7cad3406
...@@ -133,18 +133,17 @@ public class MTNotificationApiRequestClient { ...@@ -133,18 +133,17 @@ public class MTNotificationApiRequestClient {
HaveJurisdictionReqDTO haveJurisdictionReqDTO = new HaveJurisdictionReqDTO(Long.parseLong(message.getCorpId()),recipientIdLongList); HaveJurisdictionReqDTO haveJurisdictionReqDTO = new HaveJurisdictionReqDTO(Long.parseLong(message.getCorpId()),recipientIdLongList);
log.debug("----------------------通知-权限验证---------------------"); log.debug("----------------------通知-权限验证---------------------");
Ret haveJurisList = microappApiRequestClient.haveJurisdictionUserFast(haveJurisdictionReqDTO); Ret haveJurisList = microappApiRequestClient.haveJurisdictionUserFast(haveJurisdictionReqDTO);
log.debug("----------------------通知-权限验证返回结果----------------------"+haveJurisList); log.debug("----------------------通知-权限验证返回结果----------------------"+haveJurisList.getData());
if (haveJurisList.getData() == null){ if (haveJurisList.getData() == null){
return false; return false;
} }
List<String> haveJurisAccountIds = new ArrayList<>(); List<String> haveJurisAccountIds = new ArrayList<>();
List<String> getUserAccountList = new ArrayList<>(); List<String> getUserAccountList = new ArrayList<>();
log.debug("----------------------通知-list----------------------"+getUserAccountList);
List<String> getUserAccountLongList = (List<String>)haveJurisList.getData(); List<String> getUserAccountLongList = (List<String>)haveJurisList.getData();
getUserAccountLongList.forEach(getUserAccount ->{ getUserAccountLongList.forEach(getUserAccount ->{
getUserAccountList.add(String.valueOf(getUserAccount)); getUserAccountList.add(String.valueOf(getUserAccount));
}); });
log.debug("----------------------通知dto-userIds----------------------"+getUserAccountList);
MTUserGetsAccountReqDTO mtUserGetsReqDTO = new MTUserGetsAccountReqDTO(message.getCorpId(),getUserAccountList); MTUserGetsAccountReqDTO mtUserGetsReqDTO = new MTUserGetsAccountReqDTO(message.getCorpId(),getUserAccountList);
log.debug("----------------------通知-调用accountGetUserHead接口----------------------"+mtUserGetsReqDTO); log.debug("----------------------通知-调用accountGetUserHead接口----------------------"+mtUserGetsReqDTO);
List<MTAccountIdRspDTO> mtAccountIdRspDTOList = mtCotactApiRequestClient.accountGetUserHead(mtUserGetsReqDTO); List<MTAccountIdRspDTO> mtAccountIdRspDTOList = mtCotactApiRequestClient.accountGetUserHead(mtUserGetsReqDTO);
......
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