multi-system/src/main/java/com/gkhy/exam/system/service/impl/InternalAuditPersonServiceImpl.java
@@ -46,9 +46,11 @@ public CommonResult insertPerson(InternalAuditPerson person) { SysUser user = SecurityUtils.getLoginUser().getUser(); ExStudent exStudent = exStudentMapper.selectStudentById(Long.valueOf(person.getPersonId())); if (user.getDeptId()!=null){ if (user.getDeptId().equals(exStudent.getDeptId())){ throw new ApiException("请勿选择本部门成员"); } } person.setCreateBy(SecurityUtils.getUsername()); person.setCreateTime(LocalDateTime.now()); personMapper.insert(person);