Browse Source

我的需求被指派。应该通知我。

master
yinzuomei 4 years ago
parent
commit
34b48a1cc4
  1. 8
      epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/IcUserDemandRecServiceImpl.java

8
epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/IcUserDemandRecServiceImpl.java

@ -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();

Loading…
Cancel
Save