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
feada731
Commit
feada731
authored
Nov 14, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改巡检bug
parent
33c3acab
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
5 deletions
+26
-5
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+1
-1
PointServiceImpl.java
...n/amos/patrol/business/service/impl/PointServiceImpl.java
+1
-1
LatentDangerBo.java
...vision/business/entity/mybatis/extend/LatentDangerBo.java
+1
-1
LatentDangerMapper.xml
...atrol/src/main/resources/db/mapper/LatentDangerMapper.xml
+13
-1
pointMapper.xml
...ystem-patrol/src/main/resources/db/mapper/pointMapper.xml
+1
-1
LatentDangerMapper.xml
...ision/src/main/resources/db/mapper/LatentDangerMapper.xml
+9
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
feada731
...
...
@@ -1405,7 +1405,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
colModel
.
add
(
temph4
);
colModel
.
add
(
temph5
);
HashMap
<
String
,
Object
>
dataGridMock
=
new
HashMap
<>();
dataGridMock
.
put
(
"current"
,
result
.
getNumber
());
dataGridMock
.
put
(
"current"
,
result
.
getNumber
()
+
1
);
dataGridMock
.
put
(
"total"
,
result
.
getTotalElements
());
dataGridMock
.
put
(
"pagination"
,
true
);
dataGridMock
.
put
(
"totalPage"
,
result
.
getTotalPages
());
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PointServiceImpl.java
View file @
feada731
...
...
@@ -1458,7 +1458,7 @@ public class PointServiceImpl implements IPointService {
colModel
.
add
(
temph8
);
HashMap
<
String
,
Object
>
dataGridMock
=
new
HashMap
<>();
dataGridMock
.
put
(
"current"
,
result
.
getNumber
());
dataGridMock
.
put
(
"current"
,
result
.
getNumber
()
+
1
);
dataGridMock
.
put
(
"total"
,
result
.
getTotalElements
());
dataGridMock
.
put
(
"pagination"
,
true
);
dataGridMock
.
put
(
"totalPage"
,
result
.
getTotalPages
());
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/entity/mybatis/extend/LatentDangerBo.java
View file @
feada731
...
...
@@ -38,7 +38,7 @@ public class LatentDangerBo {
* 隐患等级(1:一般隐患;2:重大隐患;0:安全问题)
*/
private
Integer
dangerLevel
;
private
String
dangerLevelName
;
/**
* 隐患地点
*/
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/LatentDangerMapper.xml
View file @
feada731
...
...
@@ -29,6 +29,10 @@
<if
test=
"dangerLevel != null"
>
danger_level,
</if>
<if
test=
"dangerLevelName != null"
>
danger_level_name,
</if>
<if
test=
"dangerPosition != null"
>
danger_position,
</if>
...
...
@@ -106,6 +110,10 @@
<if
test=
"dangerLevel != null"
>
#{dangerLevel},
</if>
<if
test=
"dangerLevelName != null"
>
#{dangerLevelName},
</if>
<if
test=
"dangerPosition != null"
>
#{dangerPosition},
</if>
...
...
@@ -184,6 +192,10 @@
<if
test=
"dangerLevel != null"
>
danger_level = #{dangerLevel},
</if>
<if
test=
"dangerLevelName != null"
>
danger_level_name = #{dangerLevelName},
</if>
<if
test=
"dangerPosition != null"
>
danger_position = #{dangerPosition},
</if>
...
...
@@ -459,7 +471,7 @@
<if
test=
"departmentId != null and departmentId != -1"
>
and d.belong_department_id = #{departmentId}
</if>
AND a.danger_type IN ( 2, 3 ) -- 2:巡检
隐患
;3:有码无计划隐患
AND a.danger_type IN ( 2, 3 ) -- 2:巡检;3:有码无计划隐患
AND (
a.danger_state IN ( 2, 3, 4 ) -- 2:待治理;3:安措计划中;4:待验证;5:治理完毕
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/pointMapper.xml
View file @
feada731
...
...
@@ -570,7 +570,7 @@
SELECT
count(1)
FROM p_point
where is_delete = 0
where is_delete = 0
and biz_org_code is not null
<if
test=
"orgCode!=null"
>
and biz_org_code LIKE CONCAT( #{orgCode}, '%' )
</if>
<if
test=
"level!=null"
>
and Level = #{level}
</if>
<if
test=
"checkType!=null"
>
and catalog_id = #{checkType}
</if>
...
...
amos-boot-system-supervision/src/main/resources/db/mapper/LatentDangerMapper.xml
View file @
feada731
...
...
@@ -26,6 +26,9 @@
<if
test=
"dangerLevel != null"
>
danger_level,
</if>
<if
test=
"dangerLevelName != null"
>
danger_level_name,
</if>
<if
test=
"dangerPosition != null"
>
danger_position,
</if>
...
...
@@ -100,6 +103,9 @@
<if
test=
"dangerLevel != null"
>
#{dangerLevel},
</if>
<if
test=
"dangerLevelName != null"
>
#{dangerLevelName},
</if>
<if
test=
"dangerPosition != null"
>
#{dangerPosition},
</if>
...
...
@@ -178,6 +184,9 @@
<if
test=
"dangerLevel != null"
>
danger_level = #{dangerLevel},
</if>
<if
test=
"dangerLevelName != null"
>
danger_level_name=#{dangerLevelName},
</if>
<if
test=
"dangerPosition != null"
>
danger_position = #{dangerPosition},
</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