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();