Просмотр исходного кода

成绩,补考,二次补考查询

新疆警官学校中职
ndbs 1 год назад
Родитель
Сommit
bfe3a9155b
3 измененных файлов: 16 добавлений и 0 удалений
  1. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTran/StuScoreNotPassTranService.cs
  2. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwoTran/StuScoreNotPassTwoTranService.cs
  3. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreTran/StuScoreTranService.cs

+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTran/StuScoreNotPassTranService.cs Просмотреть файл

@@ -128,6 +128,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
strSql.Append("SELECT ");
strSql.Append(fieldSql);
strSql.Append(" FROM StuScoreNotPassTran t ");
var userlogin = LoginUserInfo.Get();
if (userlogin.Description == "学生")
{
strSql.Append(" where 1= 1 and Stuno = '" + userlogin.account + "'");
}

return this.BaseRepository("CollegeMIS").FindList<StuScoreNotPassTranEntity>(strSql.ToString(), pagination);
}
catch (Exception ex)


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwoTran/StuScoreNotPassTwoTranService.cs Просмотреть файл

@@ -128,6 +128,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
strSql.Append("SELECT ");
strSql.Append(fieldSql);
strSql.Append(" FROM StuScoreNotPassTwoTran t ");
var userlogin = LoginUserInfo.Get();
if (userlogin.Description == "学生")
{
strSql.Append(" where 1= 1 and Stuno = '" + userlogin.account + "'");
}
return this.BaseRepository("CollegeMIS").FindList<StuScoreNotPassTwoTranEntity>(strSql.ToString(), pagination);
}
catch (Exception ex)


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreTran/StuScoreTranService.cs Просмотреть файл

@@ -130,6 +130,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
strSql.Append("SELECT ");
strSql.Append(fieldSql);
strSql.Append(" FROM StuScoreTran t ");
var userlogin = LoginUserInfo.Get();
if (userlogin.Description == "学生")
{
strSql.Append(" where 1= 1 and Stuno = '" + userlogin.account + "'");
}
return this.BaseRepository("CollegeMIS").FindList<StuScoreTranEntity>(strSql.ToString(), pagination);
}
catch (Exception ex)


Загрузка…
Отмена
Сохранить