|
|
@@ -465,7 +465,7 @@ order by bb.ScoreId"; |
|
|
|
var strSql = new StringBuilder(); |
|
|
|
strSql.Append("select distinct s.LessonNo as value,s.LessonName as text from StuScoreNotPassTwo s "); |
|
|
|
strSql.Append(" left join LessonInfo l on s.LessonNo=l.LessonNo left join CdLessonType t on l.LessonTypeId=t.LTId "); |
|
|
|
strSql.Append(" where s.LessonSortNo='1' and t.LessonTypeCode='OpenLesson' "); |
|
|
|
strSql.Append(" where s.LessonSortNo='1' "); |
|
|
|
if (userType == "教师") |
|
|
|
{ |
|
|
|
strSql.Append(" and s.EmpNo='" + userAccount + "' "); |
|
|
|