Przeglądaj źródła

【修改】强制修改教师优化;

新疆警官学校中职
dyy 3 tygodni temu
rodzic
commit
ad1e1292bf
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs Wyświetl plik

@@ -732,7 +732,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
int ID = Convert.ToInt32(keyValue);
var teachclassEntity = this.BaseRepository("CollegeMIS").FindEntity<TeachClassEntity>(ID);
return this.BaseRepository("CollegeMIS").FindList<EmpInfoEntity>($"select * from EmpInfo e where EmpNo in ({teachclassEntity.EmpNo}) ");
return this.BaseRepository("CollegeMIS").FindList<EmpInfoEntity>($"select * from EmpInfo e where EmpNo in ('{teachclassEntity.EmpNo.Replace(",", "','")}') ");
}
catch (Exception ex)
{


Ładowanie…
Anuluj
Zapisz