Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-web
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
cloud-web
Commits
1de4a673
Commit
1de4a673
authored
Oct 29, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加积分商城相关代码
parent
89ed60c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
38 deletions
+38
-38
cloud-web-manage/src/main/java/com/yizhi/application/exam/controller/ExamOnlineReadOverController.java
+38
-38
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/exam/controller/ExamOnlineReadOverController.java
View file @
1de4a673
...
...
@@ -308,44 +308,44 @@ public class ExamOnlineReadOverController {
LOGGER
.
info
(
"阅卷完毕发放积分失败,没找到答卷信息"
);
}
if
(
over
!=
null
)
{
LOGGER
.
info
(
"阅卷完毕发放积分,开始"
);
//考试通过发放积分
try
{
PointParamVO
pointParamVO
=
new
PointParamVO
();
pointParamVO
.
setEventName
(
PointEventEnum
.
POINTEXAM
.
getKey
());
pointParamVO
.
setActivityType
(
"考试阅卷通过积分发放"
);
pointParamVO
.
setActivitySource
(
"考试"
);
pointParamVO
.
setActivityName
(
over
.
getExamName
());
pointParamVO
.
setScore
(
over
.
getSumScore
().
intValue
());
pointParamVO
.
setReleaseCondition
(
"范围发放"
);
pointParamVO
.
setReleaseRules
(
"按照范围取积分"
);
pointParamVO
.
setCreatePointTime
(
time
);
pointParamVO
.
setSourceId
(
over
.
getExamId
());
pointParamVO
.
setOperatingPoint
(
point
);
pointParamVO
.
setAccountId
(
over
.
getAccountId
());
pointParamVO
.
setAccountName
(
over
.
getAccountName
());
pointParamVO
.
setOrgId
(
requestContext
.
getOrgId
());
pointParamVO
.
setSiteId
(
requestContext
.
getSiteId
());
pointParamVO
.
setCompanyId
(
requestContext
.
getCompanyId
());
String
sitePointId
=
null
;
if
(
null
!=
point
&&
point
>
0
)
{
sitePointId
=
pointRedisFeignClients
.
addPointRedis
(
pointParamVO
);
}
String
sitePointId1
=
pointRedisFeignClients
.
addPointRedis
(
pointParamVO
);
if
(
null
!=
sitePointId
)
{
//amqpTemplate.convertAndSend(MQqueuesEnum.EXAM.getKey(), sitePointId);
}
if
(
null
!=
sitePointId1
)
{
//amqpTemplate.convertAndSend(MQqueuesEnum.EXPERIENCEEXAM.getKey(), sitePointId1);
}
LOGGER
.
info
(
"阅卷完毕发放积分,成功"
);
}
catch
(
Exception
ep
)
{
LOGGER
.
error
(
"阅卷积分发放失败:"
,
ep
);
}
}
//
if (over != null) {
//
LOGGER.info("阅卷完毕发放积分,开始");
//
//
//考试通过发放积分
//
try {
//
PointParamVO pointParamVO = new PointParamVO();
//
pointParamVO.setEventName(PointEventEnum.POINTEXAM.getKey());
//
pointParamVO.setActivityType("考试阅卷通过积分发放");
//
pointParamVO.setActivitySource("考试");
//
pointParamVO.setActivityName(over.getExamName());
//
pointParamVO.setScore(over.getSumScore().intValue());
//
pointParamVO.setReleaseCondition("范围发放");
//
pointParamVO.setReleaseRules("按照范围取积分");
//
pointParamVO.setCreatePointTime(time);
//
pointParamVO.setSourceId(over.getExamId());
//
pointParamVO.setOperatingPoint(point);
//
pointParamVO.setAccountId(over.getAccountId());
//
pointParamVO.setAccountName(over.getAccountName());
//
pointParamVO.setOrgId(requestContext.getOrgId());
//
pointParamVO.setSiteId(requestContext.getSiteId());
//
pointParamVO.setCompanyId(requestContext.getCompanyId());
//
String sitePointId = null;
//
if (null != point && point > 0) {
//
sitePointId = pointRedisFeignClients.addPointRedis(pointParamVO);
//
}
//
//
String sitePointId1 = pointRedisFeignClients.addPointRedis(pointParamVO);
//
if (null != sitePointId) {
//
//amqpTemplate.convertAndSend(MQqueuesEnum.EXAM.getKey(), sitePointId);
//
}
//
if (null != sitePointId1) {
//
//amqpTemplate.convertAndSend(MQqueuesEnum.EXPERIENCEEXAM.getKey(), sitePointId1);
//
}
//
LOGGER.info("阅卷完毕发放积分,成功");
//
} catch (Exception ep) {
//
LOGGER.error("阅卷积分发放失败:", ep);
//
}
//
}
// 阅卷完成,考试通过向培训项目发送消息,告知业务已经完成
try
{
...
...
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