Ver código fonte

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

新疆警官学校中职
dyy 1 mês atrás
pai
commit
ad1e1292bf
1 arquivos alterados com 1 adições e 1 exclusões
  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 Ver arquivo

@@ -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)
{


Carregando…
Cancelar
Salvar