Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamPlan/Exam_ExamPlanBLL.cs파일 보기
public (bool flag, string str) IsGenerate(string keyValue)
{
try
{
+ 1- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamPlan/Exam_ExamPlanIBLL.cs파일 보기
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamPlan/Exam_ExamPlanService.cs파일 보기
@@ -258,7 +258,7 @@ delete from Exam_ExamPlanRoom where EPLId in ('{planLessonIds}');");
/// 是否可以生成排考名单
/// </summary>
/// <param name="keyValue">排考记录主表Id</param>
public bool IsGenerate(string keyValue)
public (bool flag, string str) IsGenerate(string keyValue)
{
var db = this.BaseRepository("CollegeMIS");
try
@@ -266,27 +266,45 @@ delete from Exam_ExamPlanRoom where EPLId in ('{planLessonIds}');");
db.BeginTrans();
//排考记录表
var examPlan = db.FindEntity<Exam_ExamPlanEntity>(keyValue);
//安排考试数据
var EPTimeList = db.FindList<Exam_ExamPlanTimeEntity>(x => x.EPId == keyValue);