|
|
@ -447,6 +447,8 @@ namespace Tiobon.Core.Services |
|
|
|
|
|
|
|
|
|
|
|
input.pageData.styleInfo.coverImage = exampaper.CoverUrl; |
|
|
|
input.pageData.styleInfo.coverImage = exampaper.CoverUrl; |
|
|
|
input.pageData.styleInfo.paperStyle = exampaper.Style; |
|
|
|
input.pageData.styleInfo.paperStyle = exampaper.Style; |
|
|
|
|
|
|
|
input.pageData.styleInfo.coverBackGround = exampaper.CoverBackGround; |
|
|
|
|
|
|
|
|
|
|
|
input.pageData.examPaperSetType = exampaper.SetMethod; |
|
|
|
input.pageData.examPaperSetType = exampaper.SetMethod; |
|
|
|
|
|
|
|
|
|
|
|
input.pageData.examPaperSetData = await _ghre_ExamPaperConfigServices.Query(x => x.ExamPaperId == Id, "TaxisNo ASC"); |
|
|
|
input.pageData.examPaperSetData = await _ghre_ExamPaperConfigServices.Query(x => x.ExamPaperId == Id, "TaxisNo ASC"); |
|
|
@ -591,6 +593,7 @@ namespace Tiobon.Core.Services |
|
|
|
insert.PaperNo = await GenerateContinuousSequence("Ghre_ExamPaper", "PaperNo", "P"); |
|
|
|
insert.PaperNo = await GenerateContinuousSequence("Ghre_ExamPaper", "PaperNo", "P"); |
|
|
|
insert.LinkId = insertModel.baseData.LinkType == "CourseId" ? insertModel.baseData.CourseId : insertModel.baseData.CourseSceneId; |
|
|
|
insert.LinkId = insertModel.baseData.LinkType == "CourseId" ? insertModel.baseData.CourseId : insertModel.baseData.CourseSceneId; |
|
|
|
insert.CoverUrl = insertModel.styleInfo.coverImage; |
|
|
|
insert.CoverUrl = insertModel.styleInfo.coverImage; |
|
|
|
|
|
|
|
insert.CoverBackGround = insertModel.styleInfo.coverBackGround; |
|
|
|
insert.Style = insertModel.styleInfo.paperStyle; |
|
|
|
insert.Style = insertModel.styleInfo.paperStyle; |
|
|
|
insert.SetMethod = insertModel.examPaperSetType; |
|
|
|
insert.SetMethod = insertModel.examPaperSetType; |
|
|
|
insert.Status = "Draft"; |
|
|
|
insert.Status = "Draft"; |
|
|
@ -645,6 +648,7 @@ delete from Ghre_ExamPaperQuestion WHERE ExamPaperId='{id}';"); |
|
|
|
insert.PaperNo = await GenerateContinuousSequence("Ghre_ExamPaper", "PaperNo", "P"); |
|
|
|
insert.PaperNo = await GenerateContinuousSequence("Ghre_ExamPaper", "PaperNo", "P"); |
|
|
|
insert.LinkId = insertModel.baseData.LinkType == "CourseId" ? insertModel.baseData.CourseId : insertModel.baseData.CourseSceneId; |
|
|
|
insert.LinkId = insertModel.baseData.LinkType == "CourseId" ? insertModel.baseData.CourseId : insertModel.baseData.CourseSceneId; |
|
|
|
insert.CoverUrl = insertModel.styleInfo.coverImage; |
|
|
|
insert.CoverUrl = insertModel.styleInfo.coverImage; |
|
|
|
|
|
|
|
insert.CoverBackGround = insertModel.styleInfo.coverBackGround; |
|
|
|
insert.Style = insertModel.styleInfo.paperStyle; |
|
|
|
insert.Style = insertModel.styleInfo.paperStyle; |
|
|
|
insert.SetMethod = insertModel.examPaperSetType; |
|
|
|
insert.SetMethod = insertModel.examPaperSetType; |
|
|
|
insert.Status = "Draft"; |
|
|
|
insert.Status = "Draft"; |
|
|
|