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
484165db
Commit
484165db
authored
Feb 21, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e11da046
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
EquipmentSpecificController.java
...n/equipmanage/controller/EquipmentSpecificController.java
+1
-1
EquipmentSpecificMapper.java
...m/yeejoin/equipmanage/mapper/EquipmentSpecificMapper.java
+7
-1
BuildingServiceImpl.java
...yeejoin/equipmanage/service/impl/BuildingServiceImpl.java
+1
-1
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+4
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/EquipmentSpecificController.java
View file @
484165db
...
...
@@ -377,7 +377,7 @@ public class EquipmentSpecificController extends AbstractBaseController {
@GetMapping
(
value
=
"/{buildingId}/list"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询指定建筑下的装备列表"
,
notes
=
"查询指定建筑下的装备列表"
)
public
List
<
EquiplistSpecificBySystemVO
>
getListByWarehouseStructureId
(
@PathVariable
Long
buildingId
){
return
equipmentSpecificMapper
.
getListByWarehouseStructureId
(
buildingId
);
return
equipmentSpecificMapper
.
getListByWarehouseStructureId
(
buildingId
,
null
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/EquipmentSpecificMapper.java
View file @
484165db
...
...
@@ -228,7 +228,13 @@ public interface EquipmentSpecificMapper extends BaseMapper<EquipmentSpecific> {
Equipment
getEquipmentBySpecificId
(
@Param
(
"specificId"
)
Long
specificId
);
List
<
EquiplistSpecificBySystemVO
>
getListByWarehouseStructureId
(
Long
floorId
);
/**
*
* @param floorId 建筑id
* @param isIot 是否物联设备
* @return
*/
List
<
EquiplistSpecificBySystemVO
>
getListByWarehouseStructureId
(
Long
floorId
,
Integer
isIot
);
List
<
Map
<
String
,
String
>>
getStationInfo
();
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/BuildingServiceImpl.java
View file @
484165db
...
...
@@ -1527,7 +1527,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
//// String videoPointInScene = sourceScene.getVideoInScene() != null ? sourceScene.getVideoInScene() : "";
//1.查询楼层下的所有装备list
List
<
EquiplistSpecificBySystemVO
>
equipmentSpecifics
=
equipmentSpecificMapper
.
getListByWarehouseStructureId
(
floorId
);
List
<
EquiplistSpecificBySystemVO
>
equipmentSpecifics
=
equipmentSpecificMapper
.
getListByWarehouseStructureId
(
floorId
,
IsIotEnum
.
isIot
.
getStatus
()
);
equipmentSpecifics
.
forEach
(
e
->
{
//已经标记则为已绑定
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
484165db
...
...
@@ -1645,6 +1645,10 @@
LEFT JOIN wl_equipment AS wle ON spe.equipment_code = wle.code
LEFT JOIN wl_equipment_category AS wlec ON wlec.id = wle.category_id
WHERE det.amount > 0 and spe.warehouse_structure_id = #{floorId}
<if
test=
"isIot != null and isIot != ''"
>
and wle.is_iot = #{isIot}
</if>
</select>
<select
id=
"getStationInfo"
resultType=
"Map"
>
...
...
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