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
abd18c67
Commit
abd18c67
authored
Dec 07, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改隐患返回的lng lag为隐患的位置信息
parent
2606a927
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
16 deletions
+8
-16
FireLatentDangerDto.java
...oin/amos/boot/module/ccs/api/dto/FireLatentDangerDto.java
+4
-4
FireLatentDangerMapper.xml
...-api/src/main/resources/mapper/FireLatentDangerMapper.xml
+4
-12
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/FireLatentDangerDto.java
View file @
abd18c67
...
@@ -65,10 +65,10 @@ public class FireLatentDangerDto extends BaseDto {
...
@@ -65,10 +65,10 @@ public class FireLatentDangerDto extends BaseDto {
@ApiModelProperty
(
value
=
"纬度"
)
@ApiModelProperty
(
value
=
"纬度"
)
private
String
lat
;
private
String
lat
;
@ApiModelProperty
(
value
=
"隐患
经度"
)
@ApiModelProperty
(
value
=
"换流站
经度"
)
private
String
s
ource
Lng
;
private
String
s
tation
Lng
;
@ApiModelProperty
(
value
=
"
隐患
纬度"
)
@ApiModelProperty
(
value
=
"
换流站
纬度"
)
private
String
s
ource
Lat
;
private
String
s
tation
Lat
;
}
}
amos-boot-module/amos-boot-module-api/amos-boot-module-ccs-api/src/main/resources/mapper/FireLatentDangerMapper.xml
View file @
abd18c67
...
@@ -13,18 +13,10 @@
...
@@ -13,18 +13,10 @@
s.name as station_name,
s.name as station_name,
d.station_code,
d.station_code,
d.discovery_date,
d.discovery_date,
<choose>
d.lng,
<when
test=
"stationCode != null and stationCode != ''"
>
d.lat,
d.lat,
s.lng as stationLng,
d.lng,
s.lat as stationLat
</when>
<otherwise>
s.lng,
s.lat,
</otherwise>
</choose>
d.lng as sourceLng,
d.lat as sourceLat
from
from
asf_fire_latent_danger d,
asf_fire_latent_danger d,
asf_fire_station_info s
asf_fire_station_info s
...
...
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