| | |
| | | Boolean isExpertCheck=false; |
| | | Long expertId=null; |
| | | Boolean isStretAccount = isStreetAccount(loginUserInfoVO); |
| | | // comEvent.setAppId(loginUserInfoVO.getAppId()); |
| | | comEvent.setAppId(loginUserInfoVO.getAppId()); |
| | | if (nonNull(comEvent.getUserType())){ |
| | | if (comEvent.getUserType().equals(1)){ |
| | | //个人账号权限 |
| | |
| | | } |
| | | ComMediateType category = commediateTypeService.getById(comEvent1.getEventCategory()); |
| | | comEvent1.setEventCategoryName(category.getName()); |
| | | // comEvent1.setHasPerm(hasPermission(comEvent1,loginUserInfoVO )); |
| | | // this.accountMenu(comEvent1,comEvent.getUserType(),loginUserInfoVO,isStretAccount); |
| | | comEvent1.setHasPerm(hasPermission(comEvent1,loginUserInfoVO )); |
| | | this.accountMenu(comEvent1,comEvent.getUserType(),loginUserInfoVO,isStretAccount); |
| | | }); |
| | | return R.ok(list); |
| | | } |
| | |
| | | return map; |
| | | } |
| | | |
| | | public String getPhone(ComEvent comEvent){ |
| | | public String getPhone(ComEvent comEvent) |
| | | { |
| | | if(comEvent==null) |
| | | { |
| | | return ""; |
| | | } |
| | | if (isNull(comEvent.getRequestUserCommunity())){ |
| | | ComSanshuoIndustryCenter sanshuoIndustryCenter=comSanShuoIndustryCenterService.getById(comEvent.getCenterId()); |
| | | if(sanshuoIndustryCenter==null) |
| | | { |
| | | return null; |
| | | return ""; |
| | | } |
| | | else |
| | | { |
| | |
| | | } |
| | | |
| | | }else { |
| | | String contactsPhone = comActDAO.selectById(comEvent.getRequestUserCommunity()).getContactsPhone(); |
| | | if (isNull(contactsPhone)){ |
| | | return null; |
| | | ComActDO comActDO=comActDAO.selectById(comEvent.getRequestUserCommunity()); |
| | | if(comActDO!=null) |
| | | { |
| | | String contactsPhone = comActDO.getContactsPhone(); |
| | | if (isNull(contactsPhone)){ |
| | | return ""; |
| | | } |
| | | else |
| | | { |
| | | return contactsPhone; |
| | | } |
| | | } |
| | | return contactsPhone; |
| | | return ""; |
| | | } |
| | | } |
| | | |