| | |
| | | expert.setCreateTime(new Date()); |
| | | if (expert.getLevel()==2){ |
| | | expert.setIndustryCenterId(Long.parseLong(expert.getUnitId())); |
| | | expert.setUnit(comSanshuoIndustryCenterDao.selectById(expert.getUnitId()).getName()+"调解站"); |
| | | expert.setUnit(comSanshuoIndustryCenterDao.selectById(expert.getUnitId()).getName()); |
| | | }else if(expert.getLevel()==3){ |
| | | expert.setStreetId(Long.parseLong(expert.getUnitId())); |
| | | expert.setUnit(comStreetDAO.selectById(expert.getUnitId()).getName()+"调解站"); |
| | | }else if(expert.getLevel()==4){ |
| | | expert.setCommunityId(Long.parseLong(expert.getUnitId())); |
| | | expert.setUnit(comActDAO.selectById(expert.getUnitId()).getName()+"调解站"); |
| | | expert.setUnit(comActDAO.selectById(expert.getUnitId()).getName()+"调解室"); |
| | | }else{ |
| | | expert.setUnit("区三说会堂"); |
| | | } |
| | |
| | | id=loginUserInfo.getStreetId(); |
| | | } |
| | | } |
| | | }log.info("==================="+loginUserInfo); |
| | | } |
| | | if (loginUserInfo.getAccount().equals("admin")){ |
| | | //三说会堂查看所有专家 |
| | | id=null; |
| | | range=1; |
| | | } |
| | | log.info(""); |
| | | IPage<ComSanshuoExpertVO> comSanshuoExpertVOIPage = comSanshuoExpertDao.expertPage(new Page(page, size), keyWord, range, id, level); |
| | | for (ComSanshuoExpertVO record : comSanshuoExpertVOIPage.getRecords()) { |
| | | //获取调解次数和成功率 |