Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zlmy-cloud
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
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
zlmy
zlmy-cloud
Commits
897d1a08
Commit
897d1a08
authored
Sep 10, 2025
by
鲁鸿波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全风险分析bug
parent
177ea358
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
31 deletions
+43
-31
THazardAssessmentServiceImpl.java
...ule/hazard/service/impl/THazardAssessmentServiceImpl.java
+43
-31
No files found.
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/hazard/service/impl/THazardAssessmentServiceImpl.java
View file @
897d1a08
...
...
@@ -59,6 +59,11 @@ public class THazardAssessmentServiceImpl extends SuperServiceImpl<THazardAssess
THazardAssessment
tHazardAssessment
=
null
;
final
int
MAX_ATTEMPTS
=
5
;
int
count
=
this
.
count
(
new
LambdaQueryWrapper
<
THazardAssessment
>()
.
eq
(
THazardAssessment:
:
getWorkTypeId
,
typeId
)
.
eq
(
THazardAssessment:
:
getPlanId
,
planId
));
if
(
count
>
1
){
if
(
StringUtils
.
isEmpty
(
completeTime
))
{
// 构建不含时间条件的查询
tHazardAssessment
=
this
.
getOne
(
...
...
@@ -98,6 +103,13 @@ public class THazardAssessmentServiceImpl extends SuperServiceImpl<THazardAssess
}
}
}
}
else
{
tHazardAssessment
=
this
.
getOne
(
new
LambdaQueryWrapper
<
THazardAssessment
>()
.
eq
(
THazardAssessment:
:
getWorkTypeId
,
typeId
)
.
eq
(
THazardAssessment:
:
getPlanId
,
planId
)
);
}
if
(
tHazardAssessment
==
null
){
return
null
;
...
...
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