Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
f0f7b9e1
Commit
f0f7b9e1
authored
Sep 04, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改物联监控日志
parent
9cb83a51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
FireSourceController.java
...in/amos/fas/business/controller/FireSourceController.java
+1
-1
dbTemplate_fire_equip.xml
...rt/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
+3
-2
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/FireSourceController.java
View file @
f0f7b9e1
...
@@ -194,7 +194,7 @@ public class FireSourceController extends BaseController {
...
@@ -194,7 +194,7 @@ public class FireSourceController extends BaseController {
StringUtils
.
trimToNull
(
startTime
),
StringUtils
.
trimToNull
(
endTime
),
commonPageable
));
StringUtils
.
trimToNull
(
startTime
),
StringUtils
.
trimToNull
(
endTime
),
commonPageable
));
}
}
@Permission
//
@Permission
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"中心级查询消防设备历史数据"
,
notes
=
"中心级查询消防设备历史数据"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"中心级查询消防设备历史数据"
,
notes
=
"中心级查询消防设备历史数据"
)
@RequestMapping
(
value
=
"/zxj/data/history"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/zxj/data/history"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
GET
)
public
CommonResponse
queryForZXJFireEquipmentHistory
(
public
CommonResponse
queryForZXJFireEquipmentHistory
(
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
View file @
f0f7b9e1
...
@@ -712,12 +712,13 @@
...
@@ -712,12 +712,13 @@
FROM
FROM
wl_equipment_specific_index as ind
wl_equipment_specific_index as ind
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
left join wl_equipment_index as ein on ind.equipment_index_id = ein.id
left join wl_equipment_detail as det on spe.equipment_detail_id = det.id
left join wl_equipment_detail as det on spe.equipment_detail_id = det.id
WHERE ind.`value` IS NOT NULL AND ind.`value` != ''
WHERE ind.`value` IS NOT NULL AND ind.`value` != ''
AND ein.is_iot = 1
) d
) d
<where>
<where>
<if
test=
"fireEquipmentName!=null"
>
<if
test=
"fireEquipmentName!=null"
>
AND d.fireEquipmentName LIKE
'%#{fireEquipmentName}%'
AND d.fireEquipmentName LIKE
concat('%', #{fireEquipmentName}, '%')
</if>
</if>
<if
test=
"startTime != null and startTime != ''"
>
<if
test=
"startTime != null and startTime != ''"
>
AND d.update_date
>
= #{startTime}
AND d.update_date
>
= #{startTime}
...
...
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