springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/sanshuo/ExpertShowVO.java
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; import java.util.List; @Data @@ -24,4 +25,5 @@ @ApiModelProperty("子列表") List<ExpertShowVO> childList; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java
@@ -129,9 +129,6 @@ } /** * 专家范围 * */ springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComSanshuoExpertDao.java
@@ -67,6 +67,8 @@ * 获取当前级别的专家数量 * */ Integer selectExpertCount(@Param("dto") IndexDateDTO indexDataDTO); List<ExpertShowVO> selectExpertVoList(Integer level); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
@@ -169,12 +169,17 @@ }else if (loginUserInfo.getType().equals(11)){ range=2; id=loginUserInfo.getCommunityId(); }else if (loginUserInfo.getType().equals(7)){ //街道后台 range=3; id=loginUserInfo.getStreetId(); } } } if (loginUserInfo.getAccount().equals("admin") && isNull(level)){ //三说会堂查看所有专家 id=null; range=1; range=null; } IPage<ComSanshuoExpertVO> comSanshuoExpertVOIPage = comSanshuoExpertDao.expertPage(new Page(page, size), keyWord, range, id, level); for (ComSanshuoExpertVO record : comSanshuoExpertVOIPage.getRecords()) { @@ -201,6 +206,7 @@ if (nonNull(expertShowVO.getLevel())){ if (1==expertShowVO.getLevel()) { expertShowVO.setName("区三说会堂调解专家"); expertShowVO.setChildList(comSanshuoExpertDao.selectExpertVoList(expertShowVO.getLevel())); }else if (2==expertShowVO.getLevel()){ expertShowVO.setName("行业分中心调解专家"); List<ExpertShowVO> expertShowVOS1 = comSanshuoExpertDao.selectExpertIndustry();