张天森
2022-10-12 3c884ccd7b51edf3b36840bf99de5edaa41a38a7
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSanShuoExpertService.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.dtos.community.sanshuo.ComSanshuoExpertDTO;
import com.panzhihua.common.model.vos.LoginUserInfoVO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.entity.ComSanshuoExpert;
@@ -13,16 +14,35 @@
     * @param comSanshuoExpertDTO
     * @return 处理结果
     * */
    R addExpert(ComSanshuoExpertDTO comSanshuoExpertDTO);
    R addOrUpdateExpert(ComSanshuoExpertDTO comSanshuoExpertDTO);
    /**
     * 后台获取专家列表
     * @param page
     * @param keyWord
     * @param size
     * @param range 数据范围:1街道下属/2社区下属/3业务中心下属/null三说会堂下属
     * @param id 社区或街道或业务中心id
     * @return 处理结果
     * */
    R expertPage(String keyWord, Integer page, Integer size,Integer range,Long id);
    R expertPage(String keyWord, Integer page, Integer size, LoginUserInfoVO loginUserInfo);
    /**
     * 专家风采列表
     * @return 出列记过
     * */
    R expertShow();
    /**
     * 专家级别与单位范围
     * */
    R expertRange(LoginUserInfoVO loginUserInfo);
    /**
     * 小程序获取专家列表
     * */
    R selectExpertList(Integer type,Long id,Long cid);
    /**
     * 专家风采列表
     * */
    R expertShowList(Integer level, Long id);
}