Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
6c1c09a5
Commit
6c1c09a5
authored
Apr 21, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加经纬度、预警状态-tzs
parent
03db68f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
CylinderInfoDto.java
...oin/amos/boot/module/tzs/flc/api/dto/CylinderInfoDto.java
+10
-0
CylinderInfoMapper.xml
...-tzs-api/src/main/resources/mapper/CylinderInfoMapper.xml
+6
-1
CylinderInfoServiceImpl.java
...ule/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
+3
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderInfoDto.java
View file @
6c1c09a5
...
@@ -122,6 +122,16 @@ public class CylinderInfoDto extends BaseDto {
...
@@ -122,6 +122,16 @@ public class CylinderInfoDto extends BaseDto {
@ApiModelProperty
(
value
=
"最近预警时间"
)
@ApiModelProperty
(
value
=
"最近预警时间"
)
private
Date
earlyWarningLevelCalDate
;
private
Date
earlyWarningLevelCalDate
;
@ApiModelProperty
(
value
=
"经度"
)
private
String
longitude
;
@ApiModelProperty
(
value
=
"纬度"
)
private
String
latitude
;
@ApiModelProperty
(
value
=
"客户名称"
)
private
String
customType
;
@ApiModelProperty
(
value
=
"客户类型"
)
private
String
customName
;
}
}
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/resources/mapper/CylinderInfoMapper.xml
View file @
6c1c09a5
...
@@ -70,6 +70,8 @@
...
@@ -70,6 +70,8 @@
ci.next_inspection_date,
ci.next_inspection_date,
ci.early_warning_level,
ci.early_warning_level,
ci.early_warning_level_cal_date,
ci.early_warning_level_cal_date,
ci.longitude,
ci.latitude,
eu.address
eu.address
from
from
tz_cylinder_info ci
tz_cylinder_info ci
...
@@ -87,8 +89,11 @@
...
@@ -87,8 +89,11 @@
ci.next_inspection_date,
ci.next_inspection_date,
ci.early_warning_level,
ci.early_warning_level,
ci.early_warning_level_cal_date,
ci.early_warning_level_cal_date,
ci.longitude,
ci.latitude,
eu.address,
eu.address,
eu.custom_name
eu.custom_name,
eu.custom_type
from
from
tz_cylinder_info ci
tz_cylinder_info ci
left join tz_end_user eu on ci.end_custom_code = eu.custom_code
left join tz_end_user eu on ci.end_custom_code = eu.custom_code
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
6c1c09a5
...
@@ -618,7 +618,9 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
...
@@ -618,7 +618,9 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
}
}
public
CylinderInfoDto
getDetail
(
String
sequenceCode
)
{
public
CylinderInfoDto
getDetail
(
String
sequenceCode
)
{
return
this
.
baseMapper
.
getDetail
(
sequenceCode
);
CylinderInfoDto
dto
=
this
.
baseMapper
.
getDetail
(
sequenceCode
);
dto
.
setInspectionStatusDesc
(
dto
.
getEarlyWarningLevel
()
!=
null
?
EarlyWarningLevelEnum
.
getEumByLevel
(
dto
.
getEarlyWarningLevel
()).
getStatus
()
:
""
);
return
dto
;
}
}
public
List
<
MsgLog
>
getMsgList
(
String
sequenceCode
,
String
terminalType
)
{
public
List
<
MsgLog
>
getMsgList
(
String
sequenceCode
,
String
terminalType
)
{
...
...
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