| | |
| | | import com.gkhy.exam.common.api.CommonPage; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.domain.entity.SysDept; |
| | | 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.InternalAuditCheck; |
| | |
| | | Set<Long> collect = internalAuditCheckPeople.stream().map(InternalAuditCheckPerson::getAuditUserId) |
| | | .collect(Collectors.toSet()); |
| | | if (collect.size() != internalAuditCheckPeople.size()){ |
| | | throw new RuntimeException("受审人员重复"); |
| | | throw new ApiException("受审人员重复"); |
| | | } |
| | | LambdaQueryWrapper<InternalAuditCheckPerson> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(InternalAuditCheckPerson::getAuditId, internalAuditCheck.getId()); |