| | |
| | | import com.gkhy.exam.common.exception.ApiException; |
| | | import com.gkhy.exam.common.utils.PageUtils; |
| | | import com.gkhy.exam.common.utils.SecurityUtils; |
| | | import com.gkhy.exam.system.domain.CompanyCertificate; |
| | | import com.gkhy.exam.system.domain.CompanyQualityPolicy; |
| | | import com.gkhy.exam.system.domain.SysCompany; |
| | | import com.gkhy.exam.system.mapper.CompanyQualityPolicyMapper; |
| | |
| | | */ |
| | | @Override |
| | | public CommonPage selectCompanyQualityPolicyList(Integer companyId) { |
| | | boolean admin = SecurityUtils.isAdmin(SecurityUtils.getUserId()); |
| | | if (!admin){ |
| | | if (!SecurityUtils.adminUser()){ |
| | | if (companyId==null){ |
| | | throw new ApiException("非管理员操作,查询条件不可为空"); |
| | | } |