From c233f85e46ae2aa26e199885e8329e239c20be1d Mon Sep 17 00:00:00 2001 From: dyy <18335927079@163.com> Date: Tue, 12 Apr 2022 17:56:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91EmpInfoEnti?= =?UTF-8?q?ty=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EmpInfo/EmpInfoEntity.cs | 4 ++-- .../EmpInfo/EmpInfoService.cs | 20 +------------------ 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs index c67b44f67..7062a5ae7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs @@ -649,12 +649,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration /// 有教师资格证书 /// [Column("ISTEACHERCERTIFICATE")] - public bool? IsTeacherCertificate { get; set; } + public string IsTeacherCertificate { get; set; } /// /// 是否双师教师 /// [Column("ISDOUBLETEACHER")] - public bool? IsDoubleTeacher { get; set; } + public string IsDoubleTeacher { get; set; } /// /// 教学名师 /// diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs index 924390e69..75d6301c1 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs @@ -212,25 +212,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration try { var strSql = new StringBuilder(); - strSql.Append("SELECT "); - strSql.Append(@" - t.EmpId, - t.EmpNo, - t.EmpName, - t.F_CompanyId, - t.F_DepartmentId, - t.DeptNo, - t.GenderNo, - t.Photo, - t.Birthday, - t.NationalityNo, - t.PartyFaceNo, - t.IdentityCardNo, - t.CultureDegreeNo, - t.DegreeNo, - t.mobile, - t.EMail - "); + strSql.Append("SELECT t.* "); strSql.Append(" FROM EmpInfo t "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject();