|
|
@ -212,7 +212,11 @@ public class EvaluationInfoServiceImpl implements IEvaluationInfoService { |
|
|
|
LambdaQueryWrapper<EvaluationInfo> queryWrapper = new LambdaQueryWrapper<>(); |
|
|
|
queryWrapper.eq(EvaluationInfo::getIoCompany, ioCompany); |
|
|
|
queryWrapper.eq(EvaluationInfo::getCheckTime, checkTime); |
|
|
|
return baseMapper.selectCount(queryWrapper) < 1; |
|
|
|
Long size = baseMapper.selectCount(queryWrapper); |
|
|
|
if (size >0){ |
|
|
|
throw new ServiceException("当前新增考核已存在,请重新选择考核时间"); |
|
|
|
} |
|
|
|
return true; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|