From ad1e1292bf412c44d1d29e7acd248bfdae601784 Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Wed, 25 Dec 2024 16:11:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E4=BF=AE=E6=94=B9=E6=95=99=E5=B8=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EducationalAdministration/TeachClass/TeachClassService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs index 3996a2ed1..d3da1cea0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs @@ -732,7 +732,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration { int ID = Convert.ToInt32(keyValue); var teachclassEntity = this.BaseRepository("CollegeMIS").FindEntity(ID); - return this.BaseRepository("CollegeMIS").FindList($"select * from EmpInfo e where EmpNo in ({teachclassEntity.EmpNo}) "); + return this.BaseRepository("CollegeMIS").FindList($"select * from EmpInfo e where EmpNo in ('{teachclassEntity.EmpNo.Replace(",", "','")}') "); } catch (Exception ex) {