课程库 Excel 导入导出已完成:
支持下载标准导入模板。 导出严格沿用当前关键词、学院、分类、课程性质和状态筛选。 以课程编码为唯一键:存在则更新,不存在则新增。 校验学院编码、课程分类、课程性质、学分学时及考核方式。 整批原子导入,任一行错误则全部不写入,并提示具体行号。 学院管理员仍只能维护本学院的专业课和实践课,无法借 Excel 越权。 界面入口沿用现有课程库工具栏样式。
This commit is contained in:
@@ -40,6 +40,8 @@ public sealed class Course : CatalogEntity
|
||||
{
|
||||
public Guid CollegeId { get; set; }
|
||||
public College? College { get; set; }
|
||||
public Guid? CourseCategoryId { get; set; }
|
||||
public CourseCategory? CourseCategory { get; set; }
|
||||
public string? EnglishName { get; set; }
|
||||
public decimal Credits { get; set; }
|
||||
public int TotalHours { get; set; }
|
||||
@@ -50,6 +52,10 @@ public sealed class Course : CatalogEntity
|
||||
public string? Description { get; set; }
|
||||
}
|
||||
|
||||
public sealed class CourseCategory : CatalogEntity
|
||||
{
|
||||
}
|
||||
|
||||
public enum Gender
|
||||
{
|
||||
Unknown = 0,
|
||||
|
||||
Reference in New Issue
Block a user