|
@@ -48,7 +48,7 @@ public class MarkSiteServiceImpl extends ServiceImpl<MarkSiteDao, MarkSiteEntity
|
|
|
MarkSiteEntity old = findByExamSubjectPaperType(domain.getExamId(), domain.getSubjectCode(),
|
|
|
domain.getPaperType());
|
|
|
if ((domain.getId() == null && old != null)
|
|
|
- || (domain.getId() != null && !domain.getId().equals(old.getId()))) {
|
|
|
+ || (domain.getId() != null && old != null && !domain.getId().equals(old.getId()))) {
|
|
|
throw new ParameterException("评卷点信息已存在");
|
|
|
}
|
|
|
if (domain.getId() != null) {
|