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
c266a189
Commit
c266a189
authored
Oct 23, 2024
by
陈立彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
650a62b8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
8 deletions
+21
-8
ExamineSceneCategorySaveDto.java
.../application/dto/request/ExamineSceneCategorySaveDto.java
+1
-1
QaAssistantSaveDto.java
...ze/elleai/application/dto/request/QaAssistantSaveDto.java
+2
-2
ExamineDto.java
...cn/breeze/elleai/application/dto/response/ExamineDto.java
+8
-0
ExamineSceneCategoryDto.java
...eai/application/dto/response/ExamineSceneCategoryDto.java
+1
-1
QaAssistantDto.java
...reeze/elleai/application/dto/response/QaAssistantDto.java
+2
-2
AppExamineService.java
.../breeze/elleai/application/service/AppExamineService.java
+5
-0
ExamineMobileController.java
...eeze/elleai/controller/front/ExamineMobileController.java
+2
-2
No files found.
src/main/java/cn/breeze/elleai/application/dto/request/ExamineSceneCategorySaveDto.java
View file @
c266a189
...
...
@@ -28,7 +28,7 @@ public class ExamineSceneCategorySaveDto implements Serializable {
private
Integer
sceneId
;
@Schema
(
description
=
"可见角色列表"
)
@JsonProperty
(
"visible_role_
list
"
)
@JsonProperty
(
"visible_role_
ids
"
)
private
List
<
String
>
visibleRoleList
;
/**
...
...
src/main/java/cn/breeze/elleai/application/dto/request/QaAssistantSaveDto.java
View file @
c266a189
...
...
@@ -33,11 +33,11 @@ public class QaAssistantSaveDto implements Serializable {
private
String
iconUrl
;
@Schema
(
description
=
"知识库分类ID列表"
)
@JsonProperty
(
"category_id
_list
"
)
@JsonProperty
(
"category_id
s
"
)
private
List
<
String
>
categoryIdList
;
@Schema
(
description
=
"可见角色列表"
)
@JsonProperty
(
"visible_role_
list
"
)
@JsonProperty
(
"visible_role_
ids
"
)
private
List
<
String
>
visibleRoleList
;
}
src/main/java/cn/breeze/elleai/application/dto/response/ExamineDto.java
View file @
c266a189
...
...
@@ -41,6 +41,10 @@ public class ExamineDto implements Serializable {
@JsonProperty
(
"scene_id"
)
private
Integer
sceneId
;
@Schema
(
description
=
"对练场景名称"
)
@JsonProperty
(
"scene_name"
)
private
String
sceneName
;
/**
* 对练分类ID
*/
...
...
@@ -75,6 +79,10 @@ public class ExamineDto implements Serializable {
@JsonProperty
(
"qa_num"
)
private
Integer
qaNum
;
@Schema
(
description
=
"更新时间"
)
@JsonProperty
(
"update_time"
)
private
Date
updateTime
;
/**
* 关联题目列表
*/
...
...
src/main/java/cn/breeze/elleai/application/dto/response/ExamineSceneCategoryDto.java
View file @
c266a189
...
...
@@ -36,7 +36,7 @@ public class ExamineSceneCategoryDto implements Serializable {
private
String
sceneName
;
@Schema
(
description
=
"可见角色列表"
)
@JsonProperty
(
"visible_role_
list
"
)
@JsonProperty
(
"visible_role_
ids
"
)
private
List
<
String
>
visibleRoleList
;
/**
...
...
src/main/java/cn/breeze/elleai/application/dto/response/QaAssistantDto.java
View file @
c266a189
...
...
@@ -34,11 +34,11 @@ public class QaAssistantDto implements Serializable {
private
String
iconUrl
;
@Schema
(
description
=
"知识库分类ID列表"
)
@JsonProperty
(
"category_id
_list
"
)
@JsonProperty
(
"category_id
s
"
)
private
List
<
String
>
categoryIdList
;
@Schema
(
description
=
"可见角色列表"
)
@JsonProperty
(
"visible_role_
list
"
)
@JsonProperty
(
"visible_role_
ids
"
)
private
List
<
String
>
visibleRoleList
;
/**
...
...
src/main/java/cn/breeze/elleai/application/service/AppExamineService.java
View file @
c266a189
...
...
@@ -630,6 +630,11 @@ public class AppExamineService {
dto
.
setStartTime
(
v
.
getStartTime
().
getTime
());
dto
.
setEndTime
(
v
.
getEndTime
().
getTime
());
ExamineSceneResponseModel
scene
=
examineService
.
sceneDetail
(
dto
.
getSceneId
());
if
(
Objects
.
nonNull
(
scene
))
{
dto
.
setSceneName
(
scene
.
getName
());
}
return
dto
;
}).
collect
(
Collectors
.
toList
());
...
...
src/main/java/cn/breeze/elleai/controller/front/ExamineMobileController.java
View file @
c266a189
...
...
@@ -146,10 +146,10 @@ public class ExamineMobileController {
@Operation
(
summary
=
"退出考试,清除考试记录"
)
@PostMapping
(
value
=
"/exit_examine"
)
public
ApiResponse
<
String
>
exitExam
(
@Parameter
(
hidden
=
true
)
UserPrincipal
userPrincipal
,
@Schema
(
description
=
"对练ID"
)
@RequestParam
(
"exam
a
ine_id"
)
Integer
examineId
,
@Schema
(
description
=
"对练ID"
)
@RequestParam
(
"examine_id"
)
Integer
examineId
,
@Schema
(
description
=
"考试流水号"
)
@RequestParam
(
"business_no"
)
String
businessNo
)
{
//
examineService.exitExamine(userPrincipal, examineId, businessNo);
examineService
.
exitExamine
(
userPrincipal
,
examineId
,
businessNo
);
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