Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
7af27cce
Commit
7af27cce
authored
3 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f15ac8eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
RB_Examination_Paper.cs
Edu.Model/Entity/Exam/RB_Examination_Paper.cs
+5
-0
EducationReceiptModule.cs
Edu.Module.EduTask/EducationReceiptModule.cs
+2
-3
PaperModule.cs
Edu.Module.Exam/PaperModule.cs
+11
-1
No files found.
Edu.Model/Entity/Exam/RB_Examination_Paper.cs
View file @
7af27cce
...
...
@@ -97,5 +97,10 @@ namespace Edu.Model.Entity.Exam
/// 是否开放(1-私有,2-公开)
/// </summary>
public
int
IsOpen
{
get
;
set
;
}
/// <summary>
/// 审核和备注
/// </summary>
public
string
ExamineRemark
{
get
;
set
;
}
}
}
This diff is collapsed.
Click to expand it.
Edu.Module.EduTask/EducationReceiptModule.cs
View file @
7af27cce
...
...
@@ -1330,7 +1330,6 @@ namespace Edu.Module.EduTask
//退课
if
(
receiptModel
.
ReceiptType
==
Common
.
Enum
.
Finance
.
ReceiptTypeEnum
.
BackClass
)
{
if
(
auditModel
.
AuditStatus
==
2
)
{
flag
=
student_BackClassRepository
.
UpdateStudentBackClassRepository
(
receiptModel
,
auditModel
);
...
...
@@ -1413,10 +1412,10 @@ namespace Edu.Module.EduTask
{
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Examination_Paper_ViewModel
.
ExamineStatus
),(
int
)
EduTaskRrocessStatus
.
Rejected
}
{
nameof
(
RB_Examination_Paper_ViewModel
.
ExamineStatus
),(
int
)
EduTaskRrocessStatus
.
Rejected
},
{
nameof
(
RB_Examination_Paper_ViewModel
.
ExamineRemark
),
auditModel
.
Description
},
};
flag
=
examination_PaperRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Examination_Paper_ViewModel
.
PaperId
),
receiptModel
.
RelationId
));
}
}
if
(
receiptModel
.
ReceiptType
==
Common
.
Enum
.
Finance
.
ReceiptTypeEnum
.
ExamApply
)
...
...
This diff is collapsed.
Click to expand it.
Edu.Module.Exam/PaperModule.cs
View file @
7af27cce
...
...
@@ -75,7 +75,6 @@ namespace Edu.Module.Exam
private
readonly
RB_Question_PointRepository
question_PointRepository
=
new
RB_Question_PointRepository
();
/// <summary>
/// 获取试卷分页列表
/// </summary>
...
...
@@ -546,6 +545,11 @@ namespace Edu.Module.Exam
LevelType
=
qItem
.
LevelType
,
Score
=
item
.
QuestionScore
/
subTempQuestionList
.
Count
()
};
string
msg
=
analysisQuestion
.
CheckQuestion
(
detailsModel
.
QuestionTypeKey
,
detailsModel
.
QuestionContent
,
detailsModel
.
Answer
,
out
string
newAnswer
);
if
(!
string
.
IsNullOrEmpty
(
newAnswer
))
{
detailsModel
.
Answer
=
newAnswer
;
}
Q_SortNum
++;
var
newDetailsId
=
examination_DetailsRepository
.
Insert
(
detailsModel
);
detailsModel
.
Id
=
newDetailsId
;
...
...
@@ -845,6 +849,7 @@ namespace Edu.Module.Exam
}
}
}
model
.
ExamineRemark
=
""
;
var
configureModel
=
new
RB_Examination_Configure_ViewModel
()
{
Group_Id
=
model
.
Group_Id
,
...
...
@@ -1186,6 +1191,11 @@ namespace Edu.Module.Exam
/// <returns></returns>
public
bool
BatchSetIsOpenModule
(
List
<
int
>
paperIds
,
int
IsOpen
)
{
var
list
=
examination_PaperRepository
.
GetExaminationPaperParentRepository
(
string
.
Join
(
","
,
paperIds
));
foreach
(
var
item
in
paperIds
)
{
}
return
examination_PaperRepository
.
BatchSetIsOpenRepository
(
paperIds
,
IsOpen
)>
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment