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
b8a51563
Commit
b8a51563
authored
May 10, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改物联报表附件查询逻辑
parent
df163094
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
EquipmentSpecificAlarmMapper.xml
...rc/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
+4
-4
No files found.
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
View file @
b8a51563
...
@@ -1608,11 +1608,10 @@
...
@@ -1608,11 +1608,10 @@
wlesa.location AS location,
wlesa.location AS location,
wlesa.equipment_specific_index_name,
wlesa.equipment_specific_index_name,
concat(wlesa.equipment_specific_name, wlesa.equipment_specific_index_name) AS alamContent,
concat(wlesa.equipment_specific_name, wlesa.equipment_specific_index_name) AS alamContent,
wlesa.frequency
AS alarmNum,
IFNULL(SUM(wlesa.frequency), 0)
AS alarmNum,
DATE_FORMAT(wlesa.cre
ate_date, '%Y-%m-%d %H:%i:%s') AS createDate
DATE_FORMAT(wlesa.upd
ate_date, '%Y-%m-%d %H:%i:%s') AS createDate
FROM
FROM
`wl_equipment_specific_alarm` `wlesa`
`wl_equipment_specific_alarm` `wlesa`
LEFT JOIN f_fire_fighting_system AS sys ON FIND_IN_SET(sys.id, wlesa.system_ids)
<where>
<where>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND
wlesa.biz_org_code like concat (#{bizOrgCode},'%')
wlesa.biz_org_code like concat (#{bizOrgCode},'%')
...
@@ -1623,6 +1622,6 @@
...
@@ -1623,6 +1622,6 @@
AND find_in_set(#{sysId}, wlesa.system_ids)
AND find_in_set(#{sysId}, wlesa.system_ids)
</if>
</if>
</where>
</where>
ORDER BY wlesa.cre
ate_date DESC
ORDER BY wlesa.upd
ate_date DESC
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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