From 4e5a12ce81de96a6395d0f28bd74e663595d9cfb Mon Sep 17 00:00:00 2001 From: liangkun Date: Fri, 19 May 2023 18:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E4=B9=A0=E5=9F=BA=E5=9C=B0=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=B2=97=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/PracticeBase/Form.cshtml | 32 +++++++++++-------- .../Views/PracticeBase/Index.cshtml | 2 +- .../Views/PracticeBase/Index.js | 1 - .../PracticeBase/PracticeBaseEntity.cs | 3 ++ .../PracticeBase/PracticeBaseService.cs | 12 +------ 5 files changed, 23 insertions(+), 27 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Form.cshtml index a700246bf..5b02ff4b2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Form.cshtml @@ -3,33 +3,37 @@ Layout = "~/Views/Shared/_Form.cshtml"; }
-
+
名称
- +
-
+
地址
- +
-
+
规模
- +
-
+
支持项目
- +
-
+
负责人
- +
-
+
联系方式
- +
-
+
+
岗位
+ +
+
备注
- +
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/PracticeBase/Form.js") diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.cshtml index 60f7baba2..a3de2f3dd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.cshtml @@ -33,7 +33,7 @@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.js index 7a7b2c7cb..799f5c8cd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeBase/Index.js @@ -93,7 +93,6 @@ var bootstrap = function ($, learun) { { label: "支持项目", name: "SupportProjets", width: 100, align: "left"}, { label: "负责人", name: "Head", width: 100, align: "left"}, { label: "联系方式", name: "Mobile", width: 100, align: "left"}, - { label: "备注", name: "Remark", width: 100, align: "left"}, ], mainId:'ID', isPage: true diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseEntity.cs index 0f0dbf851..2b29efe88 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseEntity.cs @@ -54,6 +54,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration /// [Column("REMARK")] public string Remark { get; set; } + + [Column("PRACCERTIFICATE")] + public string PracCertificate { get; set; } #endregion #region 扩展操作 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseService.cs index d352304d8..6a4b63d37 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PracticeBase/PracticeBaseService.cs @@ -29,17 +29,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration try { var strSql = new StringBuilder(); - strSql.Append("SELECT "); - strSql.Append(@" - t.ID, - t.Name, - t.Address, - t.Scale, - t.SupportProjets, - t.Head, - t.Mobile, - t.Remark - "); + strSql.Append("SELECT * "); strSql.Append(" FROM PracticeBase t "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject();