| | |
| | | }else if (userType.equals(3)){ |
| | | //分配行业分中心操作权限 |
| | | //是否上报到行业分中心 |
| | | if (comEvent.getReportCenter().equals(1) || comEvent.getCurrentProcessType().equals(1)){ |
| | | if (comEvent.getCurrentProcessType().equals(1)){ |
| | | //已经报到行业分中心 |
| | | if (comEvent.getEventProcessStatus().equals(1) ){ |
| | | //待受理和待验证状态,可以受理,分配专家 |
| | |
| | | }else if (userType.equals(5) || isStreet){ |
| | | //街道权限,操作街道下属社区的所有事件 |
| | | //是否上报到街道 |
| | | if (comEvent.getReportStreet().equals(1) || comEvent.getCurrentProcessType().equals(3)){ |
| | | if (comEvent.getCurrentProcessType().equals(3)){ |
| | | //已上报到街道 |
| | | if (comEvent.getEventProcessStatus().equals(1) ){ |
| | | //待受理和待验证状态,可以受理,分配专家 |
| | |
| | | Boolean isExpertCheck=false; |
| | | Long expertId=null; |
| | | Boolean isStretAccount = isStreetAccount(loginUserInfoVO); |
| | | if (nonNull(comEvent.getUserType())){ |
| | | if (loginUserInfoVO.getType().equals(13) || loginUserInfoVO.getType().equals(11)){ |
| | | ComSanshuoExpert expert=new ComSanshuoExpert(); |
| | | //专家账号权限(后台) |
| | |
| | | List<Long> cids = comActDAO.selectCommunityByStreetId(loginUserInfoVO.getStreetId()); |
| | | comEvent.setUserType(5); |
| | | comEvent.setCommunityIds(cids); |
| | | } |
| | | } |
| | | if (isExpertCheck && comEvent.getUserType()!=1){ |
| | | if (nonNull(comEventMapper.listEventIds(expertId))){ |