| | |
| | | |
| | | public String getPhone(ComEvent comEvent){ |
| | | if (isNull(comEvent.getRequestUserCommunity())){ |
| | | return comSanShuoIndustryCenterService.getById(comEvent.getCenterId()).getPhone(); |
| | | ComSanshuoIndustryCenter sanshuoIndustryCenter=comSanShuoIndustryCenterService.getById(comEvent.getCenterId()); |
| | | if(sanshuoIndustryCenter==null) |
| | | { |
| | | return null; |
| | | } |
| | | else |
| | | { |
| | | return sanshuoIndustryCenter.getPhone(); |
| | | } |
| | | |
| | | }else { |
| | | String contactsPhone = comActDAO.selectById(comEvent.getRequestUserCommunity()).getContactsPhone(); |
| | | if (isNull(contactsPhone)){ |