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
285cb763
Commit
285cb763
authored
Dec 03, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.应急处置
parent
1b34c82b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
FireEquipmentSignalLogDto.java
...os/boot/module/ccs/api/dto/FireEquipmentSignalLogDto.java
+4
-4
FireEquipmentSignalLogMapper.xml
...rc/main/resources/mapper/FireEquipmentSignalLogMapper.xml
+7
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-ccs-api/src/main/java/com/yeejoin/amos/boot/module/ccs/api/dto/FireEquipmentSignalLogDto.java
View file @
285cb763
...
...
@@ -89,11 +89,11 @@ public class FireEquipmentSignalLogDto extends BaseDto {
@ApiModelProperty
(
value
=
"纬度"
)
private
String
lat
;
@ApiModelProperty
(
value
=
"
换流站
经度"
)
private
String
s
tation
Lng
;
@ApiModelProperty
(
value
=
"
位置
经度"
)
private
String
s
ource
Lng
;
@ApiModelProperty
(
value
=
"
换流站
纬度"
)
private
String
s
tation
Lat
;
@ApiModelProperty
(
value
=
"
位置
纬度"
)
private
String
s
ource
Lat
;
@ApiModelProperty
(
value
=
"告警日期(冗余查询,为create_date的日期部分,如:2021-11-15"
)
private
String
signalReportDate
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-ccs-api/src/main/resources/mapper/FireEquipmentSignalLogMapper.xml
View file @
285cb763
...
...
@@ -12,20 +12,21 @@
a.signal_type_name,
a.create_date,
s.name as station_name,
a.station_code,
a.location,
<choose>
<when
test=
"stationCode != null and stationCode != ''"
>
a.lat,
a.lng,
null as station_code,
</when>
<otherwise>
s.lng,
s.lat,
a.station_code,
</otherwise>
</choose>
s.lat as station
Lat,
s.lng as station
Lng
a.lat as source
Lat,
a.lng as source
Lng
from
asf_fire_equipment_signal_log a,
asf_fire_station_info s
...
...
@@ -44,6 +45,9 @@
<if
test=
"endDate != null and endDate != ''"
>
and DATEDIFF(a.create_date,#{endDate})
<![CDATA[<=]]>
0
</if>
<if
test=
"sourceId != null and sourceId != ''"
>
and a.id = #{sourceId}
</if>
order by a.create_date desc
<if
test=
"top != null"
>
limit ${top}
...
...
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