|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package com.ruoyi.web.controller.manager;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
|
|
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
|
|
|
import com.ruoyi.common.utils.ShiroUtils;
|
|
|
|
|
import com.ruoyi.system.domain.check.TdCheckReport;
|
|
|
|
|
import com.ruoyi.system.domain.exam.ExamManagerDTO;
|
|
|
|
|
import com.ruoyi.system.domain.paper.dto.request.PaperListReqDTO;
|
|
|
|
@ -19,6 +21,8 @@ import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
|
|
import static com.ruoyi.common.utils.ShiroUtils.getUserId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* packageName com.ruoyi.web.controller.manager
|
|
|
|
|
*
|
|
|
|
@ -49,6 +53,9 @@ public class UserExamManager {
|
|
|
|
|
* @return java.util.List<com.hyp.system.domain.SysNotice>
|
|
|
|
|
*/
|
|
|
|
|
public List<UserExamRespDTO> selectExamList(UserExamReqDTO reqDTO) {
|
|
|
|
|
if (!SysUser.isAdmin(ShiroUtils.getUserId())){
|
|
|
|
|
reqDTO.setUserId(getUserId());
|
|
|
|
|
}
|
|
|
|
|
return elUserExamService.selectExamList(reqDTO);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|