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
a2db1885
Commit
a2db1885
authored
Oct 24, 2024
by
杨翌文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 修复因为逻辑删除导致队列记录出不来
parent
dd50cccb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
AppExamineService.java
.../breeze/elleai/application/service/AppExamineService.java
+1
-1
ExamineService.java
...breeze/elleai/domain/sparring/service/ExamineService.java
+2
-0
ExamineServiceImpl.java
...ze/elleai/domain/sparring/service/ExamineServiceImpl.java
+7
-0
No files found.
src/main/java/cn/breeze/elleai/application/service/AppExamineService.java
View file @
a2db1885
...
...
@@ -451,7 +451,7 @@ public class AppExamineService {
* @return
*/
public
ExamineDto
examineDetail
(
Integer
id
)
{
ExamineResponseModel
model
=
examineService
.
examineDetail
(
id
);
ExamineResponseModel
model
=
examineService
.
examineDetail
IgnoreDeleted
(
id
);
// 获取关联题目信息
List
<
ExamineQaXrefResponseModel
>
xrefList
=
examineService
.
examineQaXrefList
(
id
);
if
(
CollectionUtil
.
isNotEmpty
(
xrefList
))
{
...
...
src/main/java/cn/breeze/elleai/domain/sparring/service/ExamineService.java
View file @
a2db1885
...
...
@@ -70,6 +70,8 @@ public interface ExamineService {
ExamineResponseModel
examineDetail
(
Integer
examineId
);
ExamineResponseModel
examineDetailIgnoreDeleted
(
Integer
examineId
);
void
updateExamineStatus
(
Integer
examineId
,
Integer
status
);
void
deleteExamine
(
Integer
examineId
);
...
...
src/main/java/cn/breeze/elleai/domain/sparring/service/ExamineServiceImpl.java
View file @
a2db1885
...
...
@@ -346,6 +346,13 @@ public class ExamineServiceImpl implements ExamineService {
return
examineMapper
.
selectOneByQueryAs
(
queryWrapper
,
ExamineResponseModel
.
class
);
}
@Override
public
ExamineResponseModel
examineDetailIgnoreDeleted
(
Integer
examineId
)
{
QueryWrapper
queryWrapper
=
QueryWrapper
.
create
()
.
where
(
EXAMINE_ENTITY
.
ID
.
eq
(
examineId
));
return
examineMapper
.
selectOneByQueryAs
(
queryWrapper
,
ExamineResponseModel
.
class
);
}
@Override
public
void
updateExamineStatus
(
Integer
examineId
,
Integer
status
)
{
UpdateChain
.
of
(
ExamineEntity
.
class
)
...
...
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