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
243de086
Commit
243de086
authored
Jul 27, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://39.98.45.134:8090/moa/amos-boot-biz
into developer
parents
46d38213
7b6da3fa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
4 deletions
+24
-4
IndexDto.java
.../com/yeejoin/amos/boot/module/jxiop/api/dto/IndexDto.java
+11
-1
StationBasic.java
...ejoin/amos/boot/module/jxiop/api/entity/StationBasic.java
+3
-1
MonitorFanIndicatorMapper.java
...ot/module/jxiop/api/mapper/MonitorFanIndicatorMapper.java
+2
-1
MonitorFanIndicatorMapper.xml
...i/src/main/resources/mapper/MonitorFanIndicatorMapper.xml
+8
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/IndexDto.java
View file @
243de086
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
api
.
dto
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
api
.
dto
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.util.ObjectUtils
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -42,8 +43,17 @@ public class IndexDto {
...
@@ -42,8 +43,17 @@ public class IndexDto {
private
String
displayName
;
private
String
displayName
;
private
String
pictureName
;
private
String
pictureName
;
private
String
title
;
private
String
title
;
private
String
timeString
=
""
;
//对于创建时间进行处理用于列表排序
//对于创建时间进行处理用于列表排序
public
String
getTimeString
(){
public
String
getTimeString
(){
return
getCreatedTime
().
replace
(
"-"
,
""
).
replace
(
" "
,
""
).
replace
(
":"
,
""
);
String
timeString
=
""
;
if
(!
ObjectUtils
.
isEmpty
(
getCreatedTime
())){
timeString
=
getCreatedTime
().
replace
(
"-"
,
""
).
replace
(
" "
,
""
).
replace
(
":"
,
""
);
}
return
timeString
;
}
}
public
void
setTimeString
(
String
timeString
){
this
.
timeString
=
timeString
;
}
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/entity/StationBasic.java
View file @
243de086
...
@@ -9,6 +9,8 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -9,6 +9,8 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
lombok.experimental.Accessors
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -151,5 +153,5 @@ public class StationBasic extends BaseEntity {
...
@@ -151,5 +153,5 @@ public class StationBasic extends BaseEntity {
private
String
boosterGatewayId
;
private
String
boosterGatewayId
;
//地图偏移量
//地图偏移量
@TableField
(
value
=
"title_pos"
,
typeHandler
=
FastjsonTypeHandler
.
class
)
@TableField
(
value
=
"title_pos"
,
typeHandler
=
FastjsonTypeHandler
.
class
)
private
List
<
Double
>
titlePos
;
private
List
<
BigDecimal
>
titlePos
;
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/mapper/MonitorFanIndicatorMapper.java
View file @
243de086
...
@@ -34,7 +34,8 @@ public interface MonitorFanIndicatorMapper extends BaseMapper<MonitorFanIndicato
...
@@ -34,7 +34,8 @@ public interface MonitorFanIndicatorMapper extends BaseMapper<MonitorFanIndicato
Object
getIndicatoralueTotal
(
String
gateway
,
String
indicator
);
Object
getIndicatoralueTotal
(
String
gateway
,
String
indicator
);
List
<
Map
<
String
,
String
>>
getFanConfigPower
(
@Param
(
"gatewayId"
)
String
gatewayId
);
List
<
Map
<
String
,
String
>>
getFanConfigPower
(
@Param
(
"gatewayId"
)
String
gatewayId
,
@Param
(
"equipmentNum"
)
String
equipmentNum
);
List
<
Map
<
String
,
String
>>
getBoosterStationInfo
(
@Param
(
"gatewayId"
)
String
gatewayId
);
List
<
Map
<
String
,
String
>>
getBoosterStationInfo
(
@Param
(
"gatewayId"
)
String
gatewayId
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/MonitorFanIndicatorMapper.xml
View file @
243de086
...
@@ -86,7 +86,14 @@
...
@@ -86,7 +86,14 @@
equipment_specific_name as equipmentSpecificName,
equipment_specific_name as equipmentSpecificName,
gateway_id as gatewayId
gateway_id as gatewayId
from fan_config_power
from fan_config_power
where gateway_id = #{gatewayId}
<where>
<if
test=
"equipmentNum != null and equipmentNum != ''"
>
and equipment_number = #{equipmentNum}
</if>
<if
test=
"gatewayId != null and gatewayId != ''"
>
and gateway_id = #{gatewayId}
</if>
</where>
</select>
</select>
<select
id=
"getBoosterStationInfo"
resultType=
"java.util.Map"
>
<select
id=
"getBoosterStationInfo"
resultType=
"java.util.Map"
>
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
243de086
This diff is collapsed.
Click to expand it.
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