springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoExpertServiceImpl.java
@@ -172,7 +172,7 @@ } } } if (loginUserInfo.getAccount().equals("admin") || loginUserInfo.getAccount().equals("xiqu")){ if (loginUserInfo.getAccount().equals("admin") && isNull(level)){ id=null; range=1; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComSanshuoExpertDao.xml
@@ -53,6 +53,9 @@ OR name like concat('%',#{keyWord},'%') OR phone like concat('%',#{keyWord},'%') </if> <if test="level != null "> AND level=#{level} </if> <if test="range != null and range != ''"> <if test="range == 3"> AND street_id=#{id} @@ -67,9 +70,7 @@ AND level=1 </if> </if> <if test="level != null "> AND level=#{level} </if> </select> <select id="selectExpertIndustry" resultType="com.panzhihua.common.model.vos.sanshuo.ExpertShowVO"> select count(t.id) as 'count',t1.name,t1.id from com_sanshuo_expert t