Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
exam-project
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
exam-project
Commits
8790e2c5
Commit
8790e2c5
authored
Oct 30, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加积分商城相关代码
parent
f3bde7f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
cloud-exam-api/src/main/java/com/yizhi/exam/application/vo/MarkStudentVO.java
+6
-0
cloud-exam/src/main/java/com/yizhi/application/service/impl/TrExamOnlineReadOverServiceImpl.java
+6
-6
No files found.
cloud-exam-api/src/main/java/com/yizhi/exam/application/vo/MarkStudentVO.java
View file @
8790e2c5
...
@@ -60,6 +60,12 @@ public class MarkStudentVO {
...
@@ -60,6 +60,12 @@ public class MarkStudentVO {
@ApiModelProperty
(
"用户姓名"
)
@ApiModelProperty
(
"用户姓名"
)
private
String
accountName
;
private
String
accountName
;
@ApiModelProperty
(
"阅卷人"
)
private
Long
readAccountId
;
@ApiModelProperty
(
"阅卷人姓名"
)
private
String
readAccountName
;
@ApiModelProperty
(
"答卷ID"
)
@ApiModelProperty
(
"答卷ID"
)
private
Long
examAnswerId
;
private
Long
examAnswerId
;
...
...
cloud-exam/src/main/java/com/yizhi/application/service/impl/TrExamOnlineReadOverServiceImpl.java
View file @
8790e2c5
...
@@ -310,8 +310,8 @@ public class TrExamOnlineReadOverServiceImpl extends ServiceImpl<TrExamOnlineRea
...
@@ -310,8 +310,8 @@ public class TrExamOnlineReadOverServiceImpl extends ServiceImpl<TrExamOnlineRea
trExamAnswerQuestion
=
new
TrExamAnswerQuestion
();
trExamAnswerQuestion
=
new
TrExamAnswerQuestion
();
trExamAnswerQuestion
.
setId
(
markStudentQuestionVO
.
getQuestionId
());
trExamAnswerQuestion
.
setId
(
markStudentQuestionVO
.
getQuestionId
());
trExamAnswerQuestion
.
setScore
(
markStudentQuestionVO
.
getScore
());
trExamAnswerQuestion
.
setScore
(
markStudentQuestionVO
.
getScore
());
trExamAnswerQuestion
.
setUpdateById
(
markStudentVO
.
getAccountId
());
trExamAnswerQuestion
.
setUpdateById
(
markStudentVO
.
get
Read
AccountId
());
trExamAnswerQuestion
.
setUpdateByName
(
markStudentVO
.
getAccountName
());
trExamAnswerQuestion
.
setUpdateByName
(
markStudentVO
.
get
Read
AccountName
());
trExamAnswerQuestion
.
setUpdateTime
(
createTime
);
trExamAnswerQuestion
.
setUpdateTime
(
createTime
);
trExamAnswerQuestions
.
add
(
trExamAnswerQuestion
);
trExamAnswerQuestions
.
add
(
trExamAnswerQuestion
);
score
=
score
.
add
(
markStudentQuestionVO
.
getScore
());
score
=
score
.
add
(
markStudentQuestionVO
.
getScore
());
...
@@ -333,8 +333,8 @@ public class TrExamOnlineReadOverServiceImpl extends ServiceImpl<TrExamOnlineRea
...
@@ -333,8 +333,8 @@ public class TrExamOnlineReadOverServiceImpl extends ServiceImpl<TrExamOnlineRea
BigDecimal
sumScore
=
score
.
add
(
markStudentVO
.
getObjectiveScore
());
BigDecimal
sumScore
=
score
.
add
(
markStudentVO
.
getObjectiveScore
());
trExamOnlineReadOver
.
setSumScore
(
sumScore
);
trExamOnlineReadOver
.
setSumScore
(
sumScore
);
trExamOnlineReadOver
.
setReadOveTime
(
createTime
);
trExamOnlineReadOver
.
setReadOveTime
(
createTime
);
trExamOnlineReadOver
.
setUpdateById
(
markStudentVO
.
getAccountId
());
trExamOnlineReadOver
.
setUpdateById
(
markStudentVO
.
get
Read
AccountId
());
trExamOnlineReadOver
.
setUpdateByName
(
markStudentVO
.
getAccountName
());
trExamOnlineReadOver
.
setUpdateByName
(
markStudentVO
.
get
Read
AccountName
());
trExamOnlineReadOver
.
setUpdateTime
(
createTime
);
trExamOnlineReadOver
.
setUpdateTime
(
createTime
);
Integer
sumNum
=
trExamOnlineReadOver
.
getSumNum
();
Integer
sumNum
=
trExamOnlineReadOver
.
getSumNum
();
sumNum
=
sumNum
==
null
?
0
:
sumNum
;
sumNum
=
sumNum
==
null
?
0
:
sumNum
;
...
@@ -380,8 +380,8 @@ public class TrExamOnlineReadOverServiceImpl extends ServiceImpl<TrExamOnlineRea
...
@@ -380,8 +380,8 @@ public class TrExamOnlineReadOverServiceImpl extends ServiceImpl<TrExamOnlineRea
//完成阅卷了,更新答卷状态
//完成阅卷了,更新答卷状态
TrExamAnswer
trExamAnswer
=
new
TrExamAnswer
();
TrExamAnswer
trExamAnswer
=
new
TrExamAnswer
();
trExamAnswer
.
setId
(
markStudentVO
.
getExamAnswerId
());
trExamAnswer
.
setId
(
markStudentVO
.
getExamAnswerId
());
trExamAnswer
.
setUpdateById
(
markStudentVO
.
getAccountId
());
trExamAnswer
.
setUpdateById
(
markStudentVO
.
get
Read
AccountId
());
trExamAnswer
.
setUpdateByName
(
markStudentVO
.
getAccountName
());
trExamAnswer
.
setUpdateByName
(
markStudentVO
.
get
Read
AccountName
());
trExamAnswer
.
setUpdateTime
(
createTime
);
trExamAnswer
.
setUpdateTime
(
createTime
);
trExamAnswer
.
setState
(
2
);
trExamAnswer
.
setState
(
2
);
trExamAnswer
.
setScore
(
totalScore
);
trExamAnswer
.
setScore
(
totalScore
);
...
...
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