|
|
@@ -102,6 +102,7 @@ public class LabSecurityApplyController extends BaseController
|
|
|
labSecurityApplyVO.setSubjectAdminid(sysUser.getUserId());// 教职工登录,实验室负责人为当前用户的数据
|
|
|
}else if(UserConstants.USER_TYPE_STUDENT.equals(sysUser.getUserType())){
|
|
|
//labSecurityApply.setUserId(sysUser.getUserId());// 学生登录(学生无审核权限),申请人id 为当前用户id的数据
|
|
|
+ return getDataTable(new ArrayList());
|
|
|
}
|
|
|
|
|
|
startPage();
|
|
|
@@ -388,7 +389,7 @@ public class LabSecurityApplyController extends BaseController
|
|
|
R<SysUser> rDate =remoteUserService.getUserInfoByUserId(tokensysUser.getUserId(), SecurityConstants.INNER);
|
|
|
SysUser sysUser = rDate.getData();
|
|
|
|
|
|
- /*LabSecurityApplyVO labapplyVo=new LabSecurityApplyVO();
|
|
|
+ LabSecurityApplyVO labapplyVo=new LabSecurityApplyVO();
|
|
|
labapplyVo.setBeginTime(beginTime);
|
|
|
labapplyVo.setEndTime(endTime);
|
|
|
labapplyVo.setSubjectId(subjectId);
|
|
|
@@ -396,10 +397,10 @@ public class LabSecurityApplyController extends BaseController
|
|
|
List<LabSecurityApplyVO> listapplyuser = labSecurityApplyService.selectLabSecurityApplyListByTime(labapplyVo);
|
|
|
if(listapplyuser.size()>0){
|
|
|
throw new ServiceException("该时间段已存在准入申请,请修改申请时间后在提交申请!");
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
//申请时校验是否存在
|
|
|
- if(StringUtils.isNotBlank(remark)){
|
|
|
+ /*if(StringUtils.isNotBlank(remark)){
|
|
|
//校验用户是否已有申请中的数据
|
|
|
LabSecurityApplyVO labSecurityApplyVo = new LabSecurityApplyVO();
|
|
|
labSecurityApplyVo.setSubjectId(subjectId);
|
|
|
@@ -409,7 +410,7 @@ public class LabSecurityApplyController extends BaseController
|
|
|
if(listapp!=null && listapp.size()>0){
|
|
|
throw new ServiceException("已申请该实验室,无需重复申请!");
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
List<LabSecurityMaterialDataVO> listTeacher=Collections.emptyList();//教职工
|
|
|
List<LabSecurityMaterialDataVO> listStudent=Collections.emptyList();//学生
|