Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
2929f340
Commit
2929f340
authored
Jul 18, 2024
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理空指针异常
parent
38f6c2ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
InputItemController.java
.../amos/patrol/business/controller/InputItemController.java
+4
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/InputItemController.java
View file @
2929f340
...
...
@@ -171,13 +171,13 @@ public class InputItemController extends AbstractBaseController {
// } else if (!StringUtils.isNotEmpty(finalTypeName) && StringUtils.isNotEmpty(facilitiesTypeName)) {
// finalTypeName = facilitiesTypeName;
// }
if
(
inputItemVo
.
getCustomType
().
equals
(
"1"
)
&&
inputItemVo
.
getKeyPartsType
().
equals
(
"1"
))
{
if
(
"1"
.
equals
(
inputItemVo
.
getCustomType
())
&&
"1"
.
equals
(
inputItemVo
.
getKeyPartsType
()
))
{
finalTypeName
=
""
;
}
else
if
(
inputItemVo
.
getCustomType
().
equals
(
"0"
)
&&
inputItemVo
.
getKeyPartsType
().
equals
(
"1"
))
{
}
else
if
(
"0"
.
equals
(
inputItemVo
.
getCustomType
())
&&
"1"
.
equals
(
inputItemVo
.
getKeyPartsType
()
))
{
finalTypeName
=
"自定义巡检点"
;
}
else
if
(
inputItemVo
.
getCustomType
().
equals
(
"1"
)
&&
inputItemVo
.
getKeyPartsType
().
equals
(
"0"
))
{
}
else
if
(
"1"
.
equals
(
inputItemVo
.
getCustomType
())
&&
"0"
.
equals
(
inputItemVo
.
getKeyPartsType
()
))
{
finalTypeName
=
"重点部位类型"
;
}
else
if
(
inputItemVo
.
getCustomType
().
equals
(
"0"
)
&&
inputItemVo
.
getKeyPartsType
().
equals
(
"0"
))
{
}
else
if
(
"0"
.
equals
(
inputItemVo
.
getCustomType
())
&&
"0"
.
equals
(
inputItemVo
.
getKeyPartsType
()
))
{
finalTypeName
=
"自定义巡检点"
+
","
+
"重点部位类型"
;
}
inputItemVo
.
setTypeName
(
finalTypeName
);
...
...
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