@@ -128,6 +128,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
strSql.Append("SELECT "); | strSql.Append("SELECT "); | ||||
strSql.Append(fieldSql); | strSql.Append(fieldSql); | ||||
strSql.Append(" FROM StuScoreNotPassTran t "); | 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); | return this.BaseRepository("CollegeMIS").FindList<StuScoreNotPassTranEntity>(strSql.ToString(), pagination); | ||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
@@ -128,6 +128,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
strSql.Append("SELECT "); | strSql.Append("SELECT "); | ||||
strSql.Append(fieldSql); | strSql.Append(fieldSql); | ||||
strSql.Append(" FROM StuScoreNotPassTwoTran t "); | 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); | return this.BaseRepository("CollegeMIS").FindList<StuScoreNotPassTwoTranEntity>(strSql.ToString(), pagination); | ||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
@@ -130,6 +130,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
strSql.Append("SELECT "); | strSql.Append("SELECT "); | ||||
strSql.Append(fieldSql); | strSql.Append(fieldSql); | ||||
strSql.Append(" FROM StuScoreTran t "); | 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); | return this.BaseRepository("CollegeMIS").FindList<StuScoreTranEntity>(strSql.ToString(), pagination); | ||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||