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
f0d22e94
Commit
f0d22e94
authored
Apr 26, 2023
by
高建强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
场站地图数据接口更新
parent
2afdc84f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+11
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
f0d22e94
...
...
@@ -3,7 +3,6 @@
<mapper
namespace=
"com.yeejoin.amos.boot.module.jxiop.api.mapper.StationBasicMapper"
>
<select
id=
"queryPage"
resultType=
"com.yeejoin.amos.boot.module.jxiop.api.dto.StationBasicDto"
>
select
...
...
@@ -56,7 +55,7 @@
</where>
</select>
<delete
id=
"deleteList"
parameterType=
"int"
>
<delete
id=
"deleteList"
parameterType=
"int"
>
delete from station_basic where sequence_nbr in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
...
...
@@ -65,7 +64,7 @@
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</delete>
<select
id=
"getExStationBasicDto"
resultType=
"com.yeejoin.amos.boot.module.jxiop.api.dto.ExStationBasicDto"
>
...
...
@@ -113,7 +112,15 @@
from station_basic
left join station_coordinate
on station_basic.sequence_nbr = station_coordinate.station_id
WHERE station_coordinate.is_main_coordinate = 0 LIMIT 1
WHERE station_coordinate.sequence_nbr in
(
SELECT
MIN(station_coordinate.sequence_nbr) station_coordinateID
FROM
station_basic
LEFT JOIN station_coordinate ON station_basic.sequence_nbr = station_coordinate.station_id
GROUP BY
( station_basic.sequence_nbr ))
<if
test=
"areaCode != null and areaCode != ''"
>
AND station_basic.area_code like concat('%',#{areaCode},'%')
</if>
...
...
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