|
@@ -268,7 +268,7 @@ public class PaperGroupServiceImpl extends ServiceImpl<PaperGroupDao, PaperGroup
|
|
}
|
|
}
|
|
PaperGroupEntity old = getByPaperIdAndNumber(paperId, groupNumber);
|
|
PaperGroupEntity old = getByPaperIdAndNumber(paperId, groupNumber);
|
|
if (old == null) {
|
|
if (old == null) {
|
|
- throw new StatusException("未找到分组信息");
|
|
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
this.removeById(old.getId());
|
|
this.removeById(old.getId());
|
|
paperGroupUnitService.removeByPaperIdAndGroup(paperId, old.getId());
|
|
paperGroupUnitService.removeByPaperIdAndGroup(paperId, old.getId());
|