@@ -169,8 +169,9 @@ public class MarkUserGroupServiceImpl extends ServiceImpl<MarkUserGroupMapper, M
if (count > 0) {
throw ExceptionResultEnum.ERROR.exception("删除评卷员失败,该评卷员已开始评卷");
} else {
- this.removeById(markUserGroupId);
+ // 先回收,再删除
releaseMarker(Arrays.asList(markUserGroupId));
+ this.removeById(markUserGroupId);
}