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
04991136
Commit
04991136
authored
Jul 14, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.大屏中间地图接口返回新增platformStationId字段。
2.地图区域新增areaCode字段。 3.indicator字段名称进行修改。
parent
ac4f08c5
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
3 deletions
+20
-3
MapRegionDto.java
.../yeejoin/amos/boot/module/jxiop/api/dto/MapRegionDto.java
+3
-0
StationInfoDto.java
...eejoin/amos/boot/module/jxiop/api/dto/StationInfoDto.java
+3
-0
StationRecordInfo.java
...oin/amos/boot/module/jxiop/api/dto/StationRecordInfo.java
+3
-0
Indicator.java
.../yeejoin/amos/boot/module/jxiop/api/entity/Indicator.java
+1
-1
MapRegion.java
.../yeejoin/amos/boot/module/jxiop/api/entity/MapRegion.java
+6
-0
MonitorFanIndicator.java
...mos/boot/module/jxiop/api/entity/MonitorFanIndicator.java
+1
-1
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+1
-0
StationBasicController.java
...t/module/jxiop/biz/controller/StationBasicController.java
+1
-1
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/MapRegionDto.java
View file @
04991136
...
...
@@ -39,4 +39,7 @@ public class MapRegionDto extends BaseDto {
@ApiModelProperty
(
value
=
"片区中心点"
)
private
CameraInfo
cameraInfo
;
@ApiModelProperty
(
value
=
"片区code"
)
private
CameraInfo
areaCode
;
}
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/StationInfoDto.java
View file @
04991136
...
...
@@ -27,6 +27,9 @@ public class StationInfoDto {
@ApiModelProperty
(
value
=
"场站id"
)
private
Long
stationId
;
@ApiModelProperty
(
value
=
"平台id"
)
private
String
platformStationId
;
@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 @
04991136
...
...
@@ -13,6 +13,9 @@ public class StationRecordInfo {
@ApiModelProperty
(
value
=
"场站id"
)
private
Long
stationId
;
@ApiModelProperty
(
value
=
"平台id"
)
private
String
platformStationId
;
@ApiModelProperty
(
value
=
"场站名称"
)
private
String
stationName
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/entity/Indicator.java
View file @
04991136
...
...
@@ -17,7 +17,7 @@ import java.util.Date;
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"indicator"
)
@TableName
(
"
map_
indicator"
)
public
class
Indicator
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/entity/MapRegion.java
View file @
04991136
...
...
@@ -54,4 +54,10 @@ public class MapRegion extends BaseEntity {
*/
@TableField
(
value
=
"cameraInfo"
,
typeHandler
=
FastjsonTypeHandler
.
class
)
private
CameraInfo
cameraInfo
;
/**
* 片区文字显示的省份
*/
@TableField
(
"area_code"
)
private
String
areaCode
;
}
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/entity/MonitorFanIndicator.java
View file @
04991136
...
...
@@ -17,7 +17,7 @@ import java.util.Date;
*/
@Data
@Accessors
(
chain
=
true
)
@TableName
(
value
=
"monitor_fan_indicator"
,
autoResultMap
=
true
)
@TableName
(
value
=
"monitor_fan_indicator
_copy3
"
,
autoResultMap
=
true
)
public
class
MonitorFanIndicator
extends
BaseEntity
{
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
04991136
...
...
@@ -108,6 +108,7 @@
<select
id=
"getStationList"
resultType=
"com.yeejoin.amos.boot.module.jxiop.api.dto.StationRecordInfo"
>
select
station_basic.sequence_nbr stationId,
station_basic.platform_station_id platformStationId,
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/controller/StationBasicController.java
View file @
04991136
...
...
@@ -172,7 +172,7 @@ public class StationBasicController extends BaseController {
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"场站地图数据"
,
notes
=
"场站地图数据"
)
@GetMapping
(
value
=
"/listforMap"
)
public
ResponseModel
<
List
<
StationInfoDto
>>
getStationList
(
@RequestParam
(
value
=
"areaCode"
,
required
=
false
)
String
areaCode
,
@RequestParam
(
value
=
"type"
,
required
=
false
,
defaultValue
=
"qj"
)
String
type
)
{
...
...
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 @
04991136
...
...
@@ -311,6 +311,7 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto, Statio
list
.
forEach
(
stationRecordInfo
->
{
StationInfoDto
stationInfoDto
=
new
StationInfoDto
();
stationInfoDto
.
setStationId
(
stationRecordInfo
.
getStationId
());
stationInfoDto
.
setPlatformStationId
(
stationRecordInfo
.
getPlatformStationId
());
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