Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elleai
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
ai-tech
E
ellehuis-group
backend
elleai
Commits
21a15fcc
Commit
21a15fcc
authored
Oct 23, 2024
by
陈立彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
832d601e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
AppExamineService.java
.../breeze/elleai/application/service/AppExamineService.java
+1
-1
ExamineMobileController.java
...eeze/elleai/controller/front/ExamineMobileController.java
+3
-5
No files found.
src/main/java/cn/breeze/elleai/application/service/AppExamineService.java
View file @
21a15fcc
...
...
@@ -86,7 +86,7 @@ public class AppExamineService {
ExamineSceneCategoryDto
result
=
BeanUtil
.
copyProperties
(
model
,
ExamineSceneCategoryDto
.
class
);
if
(
StrUtil
.
isNotEmpty
(
model
.
getVisibleRoleIds
()))
{
if
(
Objects
.
nonNull
(
model
)
&&
StrUtil
.
isNotEmpty
(
model
.
getVisibleRoleIds
()))
{
result
.
setVisibleRoleList
(
JSONObject
.
parseArray
(
model
.
getVisibleRoleIds
(),
String
.
class
));
}
...
...
src/main/java/cn/breeze/elleai/controller/front/ExamineMobileController.java
View file @
21a15fcc
...
...
@@ -139,17 +139,15 @@ public class ExamineMobileController {
/**
* 退出考试,清除考试记录
* @param userPrincipal
* @param examineId
* @param businessNo
* @param request
* @return
*/
@Operation
(
summary
=
"退出考试,清除考试记录"
)
@PostMapping
(
value
=
"/exit_examine"
)
public
ApiResponse
<
String
>
exitExam
(
@Parameter
(
hidden
=
true
)
UserPrincipal
userPrincipal
,
@Schema
(
description
=
"对练ID"
)
@RequestParam
(
"examine_id"
)
Integer
examineId
,
@Schema
(
description
=
"考试流水号"
)
@RequestParam
(
"business_no"
)
String
businessNo
)
{
@RequestBody
ExitExamineMobileRequestDto
request
)
{
examineService
.
exitExamine
(
userPrincipal
,
examineId
,
businessNo
);
examineService
.
exitExamine
(
userPrincipal
,
request
.
getExamineId
(),
request
.
getBusinessNo
()
);
return
ApiResponse
.
ok
(
"SUCCESS"
);
}
...
...
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