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
3cc51fa9
Commit
3cc51fa9
authored
Jan 13, 2023
by
高建强
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6' into develop_dl_plan6_temp
# Conflicts: # amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
parents
88872e42
543abe9d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
FireFightingSystemServiceImpl.java
...uipmanage/service/impl/FireFightingSystemServiceImpl.java
+6
-0
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+0
-0
EmergencyMapper.xml
...ystem-equip/src/main/resources/mapper/EmergencyMapper.xml
+0
-1
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+13
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/FireFightingSystemServiceImpl.java
View file @
3cc51fa9
...
@@ -2184,6 +2184,12 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
...
@@ -2184,6 +2184,12 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
@Override
@Override
public
List
<
Map
<
String
,
Object
>>
getSystemAlarmInfoList
(
String
startDate
,
String
endDate
)
{
public
List
<
Map
<
String
,
Object
>>
getSystemAlarmInfoList
(
String
startDate
,
String
endDate
)
{
if
(!
StringUtil
.
isNotEmpty
(
startDate
))
{
startDate
=
null
;
}
if
(!
StringUtil
.
isNotEmpty
(
endDate
))
{
endDate
=
null
;
}
return
fireFightingSystemMapper
.
getSystemAlarmInfoList
(
startDate
,
endDate
);
return
fireFightingSystemMapper
.
getSystemAlarmInfoList
(
startDate
,
endDate
);
}
}
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
3cc51fa9
This diff is collapsed.
Click to expand it.
amos-boot-system-equip/src/main/resources/mapper/EmergencyMapper.xml
View file @
3cc51fa9
...
@@ -206,7 +206,6 @@
...
@@ -206,7 +206,6 @@
wl_equipment_specific wes
wl_equipment_specific wes
WHERE
WHERE
wes.equipment_code LIKE concat( '920319', '%' )
wes.equipment_code LIKE concat( '920319', '%' )
AND wes.biz_org_code LIKE CONCAT( #{bizOrgCode}, '%' )
) temp
) temp
</select>
</select>
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
3cc51fa9
...
@@ -2847,6 +2847,7 @@
...
@@ -2847,6 +2847,7 @@
LEFT JOIN wl_equipment_specific_alarm esa ON esa.equipment_specific_id = es.id
LEFT JOIN wl_equipment_specific_alarm esa ON esa.equipment_specific_id = es.id
WHERE
WHERE
ed.`code` LIKE '92010800%'
ed.`code` LIKE '92010800%'
AND es.iot_code IS NOT NULL
AND es.biz_org_code like concat(#{bizOrgCode}, '%')
AND es.biz_org_code like concat(#{bizOrgCode}, '%')
<if
test=
"systemCode!=null and systemCode!=''"
>
<if
test=
"systemCode!=null and systemCode!=''"
>
AND fs.code = #{systemCode,jdbcType=VARCHAR}
AND fs.code = #{systemCode,jdbcType=VARCHAR}
...
@@ -2884,7 +2885,7 @@
...
@@ -2884,7 +2885,7 @@
LEFT JOIN wl_warehouse_structure wws ON wsd.warehouse_structure_id = wws.id
LEFT JOIN wl_warehouse_structure wws ON wsd.warehouse_structure_id = wws.id
LEFT JOIN wl_equipment_category wec on wec.id=eq.category_id
LEFT JOIN wl_equipment_category wec on wec.id=eq.category_id
<where>
<where>
and
wec.industry_code = 2
wec.industry_code = 2
<if
test=
"dto.code!=null and dto.code!=''"
>
<if
test=
"dto.code!=null and dto.code!=''"
>
and wesp.code = #{dto.code}
and wesp.code = #{dto.code}
</if>
</if>
...
@@ -4063,7 +4064,14 @@
...
@@ -4063,7 +4064,14 @@
) temp
) temp
LEFT JOIN
LEFT JOIN
(
(
SELECT temp.*,
SELECT temp.*,
CASE
CASE
WHEN wei.is_trend = 0 then "遥信"
WHEN wei.is_trend = 0 then "遥信"
...
@@ -4121,7 +4129,7 @@
...
@@ -4121,7 +4129,7 @@
</select>
</select>
<select
id=
"selectAlarms"
resultType=
"java.lang.Integer"
>
<select
id=
"selectAlarms"
resultType=
"java.lang.Integer"
>
SELECT
SELECT
COUNT(1
)
SUM(index_true_num
)
FROM
FROM
wl_equipment_alarm_report_day report
wl_equipment_alarm_report_day report
LEFT JOIN f_fire_fighting_system s ON FIND_IN_SET( s.id, report.system_ids )
LEFT JOIN f_fire_fighting_system s ON FIND_IN_SET( s.id, report.system_ids )
...
@@ -4454,7 +4462,8 @@
...
@@ -4454,7 +4462,8 @@
LEFT JOIN wl_equipment equipment ON equipment.id =detail.equipment_id
LEFT JOIN wl_equipment equipment ON equipment.id =detail.equipment_id
left join f_fire_fighting_system s on FIND_IN_SET(s.id,spec.system_id)
left join f_fire_fighting_system s on FIND_IN_SET(s.id,spec.system_id)
where
where
FIND_IN_SET(#{systemId},spec.system_id) AND equipment.is_iot = 1
FIND_IN_SET(#{systemId},spec.system_id)
AND equipment.is_iot = 1
GROUP BY code,s.id, name ORDER BY system_id, code ) a) as a1
GROUP BY code,s.id, name ORDER BY system_id, code ) a) as a1
GROUP BY a1.system_id
GROUP BY a1.system_id
) as b
) as b
...
@@ -5298,7 +5307,7 @@
...
@@ -5298,7 +5307,7 @@
FROM
FROM
`f_fire_fighting_system` `fs`
`f_fire_fighting_system` `fs`
where
where
fs.system_type_code IS NOT NULL
fs.system_type_code IS NOT NULL
AND LENGTH(trim(fs.system_type_code)) != 0 AND fs.system_type_code != 'otherSys'
</select>
</select>
<select
id=
"getSystemCountInfo"
resultType=
"java.util.Map"
>
<select
id=
"getSystemCountInfo"
resultType=
"java.util.Map"
>
...
...
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