From b8bf8b8c222e65cf3e871cd23182a5c6de9e3f4a Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 19 Jun 2023 11:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E6=B7=BB=E5=8A=A0=E5=88=86?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/CdDept/Form.cshtml | 6 +++++- .../EducationalAdministration/Views/CdDept/Index.js | 1 + .../EducationalAdministration/CdDept/CdDeptEntity.cs | 4 +++- .../EducationalAdministration/CdDept/CdDeptService.cs | 11 +---------- 4 files changed, 10 insertions(+), 12 deletions(-) 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();