|
@@ -547,7 +547,7 @@ func SelfSupportForSchoolGradeDelete(c *gin.Context) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if len(*class) > 0 { |
|
|
if len(*class) > 0 { |
|
|
e.OutErr(c, e.ERR, "当前年级下存在未删除的班级!") |
|
|
|
|
|
|
|
|
e.OutSuc(c, "当前年级下存在未删除的班级!", nil) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
_, err = gradeDb.GradeDeleteBySession(grade.Id) |
|
|
_, err = gradeDb.GradeDeleteBySession(grade.Id) |
|
|