|
|
@ -1428,6 +1428,14 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD |
|
|
|
} else if (UserDemandConstant.COMMUNITY_ORG.equals(serviceType)) { |
|
|
|
Map<String, IcCommunitySelfOrganizationEntity> communityOrgMap = getCommunityOrgMap(Arrays.asList(serverId)); |
|
|
|
serviceName = MapUtils.isNotEmpty(communityOrgMap) ? communityOrgMap.get(serverId).getOrganizationName() : StrConstant.EPMETY_STR; |
|
|
|
}else if(UserDemandConstant.VOLUNTEER.equals(serviceType)){ |
|
|
|
//如果指派给了志愿者-》您提出的需求将由XX为您解决,请查看
|
|
|
|
UserResiInfoListFormDTO userResiInfoListFormDTO=new UserResiInfoListFormDTO(); |
|
|
|
userResiInfoListFormDTO.setUserIdList(Arrays.asList(serverId)); |
|
|
|
Result<List<UserResiInfoResultDTO>> userRes = epmetUserOpenFeignClient.getUserResiInfoList(userResiInfoListFormDTO); |
|
|
|
if(userRes.success()){ |
|
|
|
serviceName=userRes.getData().get(NumConstant.ZERO).getRealName(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(serviceName)) { |
|
|
|
UserMessageFormDTO userMessage = new UserMessageFormDTO(); |
|
|
|