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
610e5a84
Commit
610e5a84
authored
Jan 11, 2022
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患导入问题处理
parent
321531c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
HiddenDangerServiceImpl.java
...vision/business/service/impl/HiddenDangerServiceImpl.java
+1
-0
HiddenDangerMapper.xml
...ision/src/main/resources/db/mapper/HiddenDangerMapper.xml
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/HiddenDangerServiceImpl.java
View file @
610e5a84
...
...
@@ -209,6 +209,7 @@ public class HiddenDangerServiceImpl implements IHiddenDangerService {
HiddenDangerDto
hiddenDangerDto
=
new
HiddenDangerDto
();
hiddenDangerDto
.
setPlanId
(
planId
);
hiddenDangerDto
.
setPointId
(
pointArray
.
length
>
1
?
Long
.
parseLong
(
StringUtils
.
trimAllWhitespace
(
pointArray
[
1
]))
:
null
);
hiddenDangerDto
.
setPointName
(
pointArray
.
length
>
1
?
pointArray
[
0
]
:
null
);
hiddenDangerDto
.
setCheckInputId
(
seq
);
hiddenDangerDto
.
setDangerType
(
DangerHandleTypeEnum
.
SELF
.
getCode
());
try
{
...
...
amos-boot-system-supervision/src/main/resources/db/mapper/HiddenDangerMapper.xml
View file @
610e5a84
...
...
@@ -9,10 +9,10 @@
ci.input_name as inputItemName,
ci.user_name as checkUserName,
ci.create_date as checkTime,
c.point_n
ame
pp.name as pointN
ame
FROM `p_hidden_danger` phd
left join p_check_input ci on phd.check_input_id = ci.id
left join p_
check c on c.id = phd.check
_id
left join p_
point pp on pp.id = phd.point
_id
<where>
<if
test=
"planId !=null and planId != ''"
>
and phd.plan_id=#{planId}
</if>
<if
test=
"pointId !=null and pointId != ''"
>
and phd.point_id=#{pointId}
</if>
...
...
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