heheng
22 hours ago 9c5c03d58c20e03fa7adc515ea15dc2a0f4dccb8
expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ExpertInfoController.java
@@ -3,6 +3,7 @@
import com.gkhy.common.annotation.Anonymous;
import com.gkhy.common.annotation.RepeatSubmit;
import com.gkhy.common.constant.RoleConstants;
import com.gkhy.common.core.controller.BaseController;
import com.gkhy.common.core.domain.AjaxResult;
import com.gkhy.common.core.domain.R;
@@ -58,7 +59,7 @@
    @GetMapping("/perList")
    public TableDataInfo exportInfoPerList(SysExpertInfo expertInfo) {
        startPage();
        if (!SecurityUtils.isAdmin(SecurityUtils.getUserId())){
        if (!SecurityUtils.isAdmin(SecurityUtils.getUserId()) && !SecurityUtils.hasRole(RoleConstants.EXPERT_KEY)){
            expertInfo.setDeptId(SecurityUtils.getDeptId());
        }
        List<SysExpertInfo> sysExpertInfos = expertInfoService.exportInfoList(expertInfo);