| | |
| | | |
| | | 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; |
| | |
| | | @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); |