Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
poc
poc-api
Commits
2a96c4ef
Commit
2a96c4ef
authored
Oct 31, 2025
by
R10
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
aa58bb63
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
22 deletions
+38
-22
BizAiDataAuditTaskService.java
.../poc/ai_data_audit/service/BizAiDataAuditTaskService.java
+2
-0
BizAiDataAuditTaskServiceImpl.java
...ata_audit/service/impl/BizAiDataAuditTaskServiceImpl.java
+13
-0
AirportConsumerServiceImpl.java
.../poc/message/service/impl/AirportConsumerServiceImpl.java
+23
-22
No files found.
src/main/java/cn/com/poc/ai_data_audit/service/BizAiDataAuditTaskService.java
View file @
2a96c4ef
...
...
@@ -11,6 +11,8 @@ public interface BizAiDataAuditTaskService extends BaseService {
BizAiDataAuditTaskEntity
get
(
Long
id
)
throws
Exception
;
BizAiDataAuditTaskEntity
getWithToken
(
Long
id
)
throws
Exception
;
void
delete
(
Long
id
)
throws
Exception
;
List
<
BizAiDataAuditTaskEntity
>
findByExample
(
BizAiDataAuditTaskEntity
example
,
PagingInfo
pagingInfo
)
throws
Exception
;
...
...
src/main/java/cn/com/poc/ai_data_audit/service/impl/BizAiDataAuditTaskServiceImpl.java
View file @
2a96c4ef
...
...
@@ -61,6 +61,19 @@ public class BizAiDataAuditTaskServiceImpl extends BaseServiceImpl
return
BizAiDataAuditTaskConvert
.
modelToEntity
(
model
);
}
@Override
public
BizAiDataAuditTaskEntity
getWithToken
(
java
.
lang
.
Long
id
)
throws
Exception
{
Assert
.
notNull
(
id
);
BizAiDataAuditTaskModel
model
=
this
.
repository
.
get
(
id
);
if
(
model
==
null
)
{
return
null
;
}
if
(
"Y"
.
equals
(
model
.
getIsDeleted
()))
{
return
null
;
}
return
BizAiDataAuditTaskConvert
.
modelToEntity
(
model
);
}
@Override
public
void
delete
(
java
.
lang
.
Long
id
)
throws
Exception
{
Assert
.
notNull
(
id
);
...
...
src/main/java/cn/com/poc/message/service/impl/AirportConsumerServiceImpl.java
View file @
2a96c4ef
...
...
@@ -155,12 +155,13 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
@Override
@Consumer
(
topic
=
AirportTopic
.
AIRPORT_PDF_PAPER_TOPIC
)
public
void
pdfPaper
(
AirportPDFPaperMessage
message
)
throws
Exception
{
try
{
List
<
AuditResultDto
>
results
=
new
CopyOnWriteArrayList
<>();
Long
taskId
=
message
.
getTaskId
();
//根据任务id查找任务
BizAiDataAuditTaskEntity
bizAiDataAuditTaskEntity
=
bizAiDataAuditTaskService
.
get
(
taskId
);
BizAiDataAuditTaskEntity
bizAiDataAuditTaskEntity
=
bizAiDataAuditTaskService
.
getWithToken
(
taskId
);
if
(
bizAiDataAuditTaskEntity
==
null
)
{
throw
new
BusinessException
(
"任务不存在"
);
...
...
@@ -185,7 +186,7 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
CountDownLatch
countDownLatch
=
new
CountDownLatch
(
aiDataAuditRuleQueryItems
.
size
());
try
{
//
for
(
AiDataAuditRuleQueryItem
aiDataAuditRuleQueryItem
:
aiDataAuditRuleQueryItems
)
{
String
ruleType
=
aiDataAuditRuleQueryItem
.
getDataAuditRuleType
();
...
...
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