|
|
@@ -1984,6 +1984,9 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad |
|
|
|
StringBuilder sb = new StringBuilder(); |
|
|
|
sb.Append(" update StuScore set EmpNo ='" + EmpNo + "' where classno = '" + classNo + "' and Semester ='" + xq + "' and AcademicYearNo ='" + xn + "' and LessonNo ='" + LessonNo + "' and empno = '" + hisempno + "' and Grade='" + Grade + "' and LessonSortNo='" + LessonSortNo + "' "); |
|
|
|
this.BaseRepository("CollegeMIS").ExecuteBySql(sb.ToString()); |
|
|
|
//教师成绩单 |
|
|
|
var str = $"update EmpReportCard set EmpNo='{EmpNo}',EmpName=(select EmpName from EmpInfo where EmpNo='{EmpNo}') where AcademicYearNo='{xn}' and Semester='{xq}' and LessonNo='{LessonNo}' and ClassNo='{classNo}' and EmpNo='{hisempno}' and LessonSortNo='{LessonSortNo}' "; |
|
|
|
this.BaseRepository("CollegeMIS").ExecuteBySql(str); |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|