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
e8bec16f
Commit
e8bec16f
authored
Jul 04, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地图接口新增场站id信息
parent
50e7c5a3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
StationInfoDto.java
...eejoin/amos/boot/module/jxiop/api/dto/StationInfoDto.java
+3
-1
StationRecordInfo.java
...oin/amos/boot/module/jxiop/api/dto/StationRecordInfo.java
+2
-1
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+1
-0
StationBasicServiceImpl.java
...odule/jxiop/biz/service/impl/StationBasicServiceImpl.java
+1
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/StationInfoDto.java
View file @
e8bec16f
...
...
@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.springframework.context.annotation.Primary
;
import
javax.ws.rs.DefaultValue
;
import
java.util.ArrayList
;
...
...
@@ -23,7 +24,8 @@ import java.util.List;
public
class
StationInfoDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"场站id"
)
private
Long
stationId
;
@ApiModelProperty
(
value
=
"场站名称"
)
private
String
stationName
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/StationRecordInfo.java
View file @
e8bec16f
...
...
@@ -10,7 +10,8 @@ import java.util.List;
public
class
StationRecordInfo
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"场站id"
)
private
Long
stationId
;
@ApiModelProperty
(
value
=
"场站名称"
)
private
String
stationName
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
e8bec16f
...
...
@@ -107,6 +107,7 @@
</select>
<select
id=
"getStationList"
resultType=
"com.yeejoin.amos.boot.module.jxiop.api.dto.StationRecordInfo"
>
select
station_basic.sequence_nbr stationId,
station_basic.station_name stationName ,
station_basic.station_type stationType,
station_basic.station_flag stationFlag,
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/StationBasicServiceImpl.java
View file @
e8bec16f
...
...
@@ -310,6 +310,7 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto, Statio
//便利返回给地图的数据并对数据进行处理
list
.
forEach
(
stationRecordInfo
->
{
StationInfoDto
stationInfoDto
=
new
StationInfoDto
();
stationInfoDto
.
setStationId
(
stationInfoDto
.
getStationId
());
stationInfoDto
.
setStationName
(
stationRecordInfo
.
getStationName
());
stationInfoDto
.
setType
(
stationRecordInfo
.
getStationType
());
//url 暂时写死
...
...
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