|
|
@@ -266,7 +266,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
if (model != null) |
|
|
|
{ |
|
|
|
count++; |
|
|
|
//修改StuSelectLessonListOfElectiveOnline状态为报名失败 |
|
|
|
db.ExecuteBySql("update StuSelectLessonListOfElectiveOnline set Status=3 where Id='" + item + "'"); |
|
|
|
//删除StuScoreOnline已生成成绩数据 |
|
|
|
db.ExecuteBySql($"delete from StuScoreOnline where StuNo='{model.StuNo}' and StuName='{model.StuName}' and AcademicYearNo='{model.AcademicYearNo}' and Semester='{model.Semester}' and LessonNo='{model.LessonNo}' and LessonName='{model.LessonName}' and EmpNo='{model.EmpNo}' "); |
|
|
|
} |
|
|
|
} |
|
|
|
//修改LessonInfoOfElectiveOnline通过人数 |
|
|
@@ -417,7 +420,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
{ |
|
|
|
var queryParam = queryJson.ToJObject(); |
|
|
|
var strSql = new StringBuilder(); |
|
|
|
|
|
|
|
|
|
|
|
strSql.Append("select a.StuNo,a.StuName,a.DeptNo,a.MajorNo,a.F_SchoolId,a.ClassNo,b.Status,b.Id,"); |
|
|
|
strSql.Append("'" + queryParam["AcademicYearNo"].ToString() + "' as AcademicYearNo,'" + queryParam["Semester"].ToString() + "' as Semester,"); |
|
|
|
strSql.Append("b.LessonNo,b.LessonName,b.EmpNo,b.EmpName"); |
|
|
|