From 7a68f286bf9aec8d9e105163d10dfe3415c213e7 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期三, 19 十月 2022 17:52:14 +0800
Subject: [PATCH] update

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
index 6c3e17b..e2f01a3 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
+++ b/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();

--
Gitblit v1.7.1