|
|
@@ -78,8 +78,8 @@ select EPId from Exam_ExamPlanLesson where EPLId='{queryParam["EPLId"].ToString( |
|
|
|
empSql += $" and EPRId<>'{queryParam["EPRId"].ToString()}'"; |
|
|
|
} |
|
|
|
|
|
|
|
var obj = this.BaseRepository("CollegeMIS").FindList<Exam_ExamPlanRoomEntity>(empSql).Select(x=>x.EmpNo).Distinct().ToList(); |
|
|
|
if (obj != null) |
|
|
|
var obj = this.BaseRepository("CollegeMIS").FindList<Exam_ExamPlanRoomEntity>(empSql).Select(x => x.EmpNo).Distinct().ToList(); |
|
|
|
if (obj != null && obj.Count > 0) |
|
|
|
{ |
|
|
|
var empNo = string.Join("','", obj[0].ToString().Split(',').Distinct()); |
|
|
|
strSql.Append($" AND t.EmpNo not in ('{empNo}')"); |
|
|
|