Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
51173730
Commit
51173730
authored
Jun 23, 2020
by
shanqiyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
44510002
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AccidentTypeServiceImpl.java
...os/fas/business/service/impl/AccidentTypeServiceImpl.java
+1
-1
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/AccidentTypeServiceImpl.java
View file @
51173730
...
@@ -51,7 +51,7 @@ public class AccidentTypeServiceImpl implements IAccidentTypeService {
...
@@ -51,7 +51,7 @@ public class AccidentTypeServiceImpl implements IAccidentTypeService {
private
void
checkBeforeDet
(
Long
id
)
{
private
void
checkBeforeDet
(
Long
id
)
{
List
<
RiskFactor
>
list
=
iRiskFactorDao
.
findByAccidentTypeId
(
id
);
List
<
RiskFactor
>
list
=
iRiskFactorDao
.
findByAccidentTypeId
(
id
);
if
(
null
!=
list
&&
list
.
size
()>
0
){
if
(
null
!=
list
&&
list
.
size
()>
0
){
throw
new
YeeException
(
"危险因素"
+
list
.
get
(
0
).
getName
()+
"在使用中,不能删除"
);
throw
new
YeeException
(
list
.
get
(
0
).
getName
()+
"在使用中,不能删除"
);
}
}
}
}
...
...
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