diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Form.cshtml index 53d942360..12093fd1c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Form.cshtml @@ -27,7 +27,11 @@
排序号*
-
+
+
分数
+ +
+
系部负责人
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Index.js index 6d07fb33c..2750f6aaa 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdDept/Index.js @@ -90,6 +90,7 @@ var bootstrap = function ($, learun) { { label: "名称缩写", name: "DeptShortName", width: 100, align: "left" }, { label: "英文名称", name: "DeptEnBrief", width: 100, align: "left" }, { label: "排序号", name: "DeptSort", width: 100, align: "left" }, + { label: "分数", name: "Score", width: 100, align: "left" }, { label: "系部负责人", name: "DeptDirector", width: 100, align: "left" }, ], mainId: 'DeptId', diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptEntity.cs index c9db624be..cb36ca219 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptEntity.cs @@ -11,7 +11,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration /// 日 期:2019-01-22 10:53 /// 描 述:系部信息管理 /// - public class CdDeptEntity + public class CdDeptEntity { #region 实体成员 /// @@ -72,6 +72,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration /// [Column("SYNCFLAG")] public bool? SyncFlag { get; set; } + [Column("SCORE")] + public decimal? Score { get; set; } #endregion #region 扩展操作 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptService.cs index e32b67cd3..62e5c7717 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/CdDept/CdDeptService.cs @@ -57,16 +57,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration { var strSql = new StringBuilder(); strSql.Append("SELECT "); - strSql.Append(@" - t.DeptId, - t.DeptName, - t.DeptNo, - t.DeptShortName, - t.DeptEnBrief, - t.DeptSort, - t.DeptDirector, - t.F_SchoolId - "); + strSql.Append(@"t.* "); strSql.Append(" FROM CdDept t "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject();