xiatian 2 жил өмнө
parent
commit
a02f0b39d5

+ 1 - 1
src/main/java/cn/com/qmth/mps/service/impl/PaperGroupServiceImpl.java

@@ -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());