Browse Source

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

新疆警官学校中职
dyy 3 weeks ago
parent
commit
ad1e1292bf
1 changed files with 1 additions and 1 deletions
  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 View File

@@ -732,7 +732,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{ {
int ID = Convert.ToInt32(keyValue); int ID = Convert.ToInt32(keyValue);
var teachclassEntity = this.BaseRepository("CollegeMIS").FindEntity<TeachClassEntity>(ID); 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) catch (Exception ex)
{ {


Loading…
Cancel
Save