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
a6397f3e
Commit
a6397f3e
authored
Jul 22, 2022
by
王鹿鹿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务 7881 7859
parent
eb0ba2d2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
106 additions
and
1 deletion
+106
-1
DateUtils.java
.../java/com/yeejoin/equipmanage/common/utils/DateUtils.java
+0
-0
IotIndexItemVo.java
...ava/com/yeejoin/equipmanage/common/vo/IotIndexItemVo.java
+15
-0
IotIndexResItemVo.java
.../com/yeejoin/equipmanage/common/vo/IotIndexResItemVo.java
+15
-0
IotIndexResMinotFinalVo.java
...eejoin/equipmanage/common/vo/IotIndexResMinotFinalVo.java
+27
-0
IotIndexResMinotVo.java
...com/yeejoin/equipmanage/common/vo/IotIndexResMinotVo.java
+26
-0
TopographyController.java
.../yeejoin/equipmanage/controller/TopographyController.java
+0
-0
IotFeign.java
...src/main/java/com/yeejoin/equipmanage/fegin/IotFeign.java
+2
-1
EquipmentIndexMapper.java
.../com/yeejoin/equipmanage/mapper/EquipmentIndexMapper.java
+2
-0
IEquipmentIndexService.java
...m/yeejoin/equipmanage/service/IEquipmentIndexService.java
+8
-0
EquipmentIndexImpl.java
.../yeejoin/equipmanage/service/impl/EquipmentIndexImpl.java
+5
-0
EquipmentIndexMapper.xml
...-equip/src/main/resources/mapper/EquipmentIndexMapper.xml
+6
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/utils/DateUtils.java
View file @
a6397f3e
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/IotIndexItemVo.java
0 → 100644
View file @
a6397f3e
package
com
.
yeejoin
.
equipmanage
.
common
.
vo
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
IotIndexItemVo
{
private
String
id
;
private
String
key
;
private
String
name
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/IotIndexResItemVo.java
0 → 100644
View file @
a6397f3e
package
com
.
yeejoin
.
equipmanage
.
common
.
vo
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
IotIndexResItemVo
{
private
String
key
;
private
String
name
;
private
int
[]
data
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/IotIndexResMinotFinalVo.java
0 → 100644
View file @
a6397f3e
package
com
.
yeejoin
.
equipmanage
.
common
.
vo
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.List
;
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
IotIndexResMinotFinalVo
{
private
Long
id
;
private
String
[]
name
;
private
String
[]
nameKey
;
private
String
unit
;
private
List
<
String
>
times
;
private
List
<
IotIndexItemVo
>
items
;
private
List
<
IotIndexResItemVo
>
iotData
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/IotIndexResMinotVo.java
0 → 100644
View file @
a6397f3e
package
com
.
yeejoin
.
equipmanage
.
common
.
vo
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.List
;
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
IotIndexResMinotVo
{
private
Long
id
;
private
String
name
;
private
String
nameKey
;
private
String
unit
;
private
List
<
String
>
times
;
private
List
<
IotDataVO
>
iotData
;
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/TopographyController.java
View file @
a6397f3e
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/fegin/IotFeign.java
View file @
a6397f3e
...
...
@@ -22,6 +22,7 @@ public interface IotFeign {
@RequestParam
(
value
=
"timeStart"
)
String
beginDate
,
@RequestParam
(
value
=
"timeEnd"
)
String
endDate
,
@RequestParam
(
value
=
"productKey"
)
String
productKey
,
@RequestParam
(
value
=
"deviceName"
)
String
deviceName
);
@RequestParam
(
value
=
"deviceName"
)
String
deviceName
,
@RequestParam
(
required
=
false
,
value
=
"fieldKey"
)
String
fieldKey
);
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/EquipmentIndexMapper.java
View file @
a6397f3e
...
...
@@ -63,5 +63,7 @@ public interface EquipmentIndexMapper extends BaseMapper<EquipmentIndex> {
List
<
EquipmentIndexVO
>
getEquipmentIndexByIot
();
List
<
EquipmentIndex
>
getPerfQutoaIotList
(
Long
id
);
List
<
String
>
getGruopName
(
Long
equipmentId
);
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/IEquipmentIndexService.java
View file @
a6397f3e
...
...
@@ -63,4 +63,12 @@ public interface IEquipmentIndexService extends IService<EquipmentIndex> {
List
<
String
>
getGruopName
(
Long
equipmentId
);
/**
* 分页查询
* @param id
* @return
*/
List
<
EquipmentIndex
>
getPerfQutoaIotList
(
Long
id
);
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentIndexImpl.java
View file @
a6397f3e
...
...
@@ -77,6 +77,11 @@ public class EquipmentIndexImpl extends ServiceImpl<EquipmentIndexMapper, Equipm
}
@Override
public
List
<
EquipmentIndex
>
getPerfQutoaIotList
(
Long
id
)
{
return
this
.
baseMapper
.
getPerfQutoaIotList
(
id
);
}
@Override
public
EquipmentIndexVO
getOnePrefQuota
(
Long
id
)
{
return
this
.
baseMapper
.
getOnePrefQuota
(
id
);
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentIndexMapper.xml
View file @
a6397f3e
...
...
@@ -223,4 +223,10 @@
GROUP BY
group_name
</select>
<select
id=
"getPerfQutoaIotList"
resultType=
"com.yeejoin.equipmanage.common.entity.EquipmentIndex"
>
select id,name as perfQuotaName, name_key as perfQuotaDefinitionId,is_trend as isTrend from wl_equipment_index s where equipment_id = (
select equipment_id from wl_equipment_detail wei where id = (
select equipment_detail_id from wl_equipment_specific where id = #{id})
)
</select>
</mapper>
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