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
d127bea2
Commit
d127bea2
authored
Aug 15, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
dc51e9f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
EquipmentSpecificController.java
...n/equipmanage/controller/EquipmentSpecificController.java
+7
-0
EquipmentSpecificMapper.java
...m/yeejoin/equipmanage/mapper/EquipmentSpecificMapper.java
+2
-0
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+11
-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 @
d127bea2
...
...
@@ -504,6 +504,13 @@ public class EquipmentSpecificController extends AbstractBaseController {
return
CommonResponseUtil
.
success
();
}
@GetMapping
(
"/find/id"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询泡沫系统指标"
,
notes
=
"查询装备id"
)
public
ResponseModel
getEquipIdByCheckInputId
(
@RequestParam
(
value
=
"id"
)
String
id
)
{
return
CommonResponseUtil
.
success
(
equipmentSpecificMapper
.
getEquipIdByCheckInputId
(
id
));
}
@GetMapping
(
"/find/one"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询泡沫系统指标"
,
notes
=
"查询泡沫系统指标"
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/EquipmentSpecificMapper.java
View file @
d127bea2
...
...
@@ -294,4 +294,6 @@ public interface EquipmentSpecificMapper extends BaseMapper<EquipmentSpecific> {
IPage
<
EquipTypeImgAmountVO
>
getMonitoringUnitList
(
@Param
(
"page"
)
IPage
page
,
@Param
(
"equipTypeAmountPage"
)
EquipTypeAmountPageDTO
equipTypeAmountPage
);
List
<
Map
<
String
,
Object
>>
getMonitoringCount
(
String
bizOrgCode
);
String
getEquipIdByCheckInputId
(
@Param
(
value
=
"id"
)
String
id
);
}
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
d127bea2
...
...
@@ -2489,6 +2489,17 @@
where p.id = #{pointId}
</select>
<select
id=
"getEquipIdByCheckInputId"
resultType=
"String"
>
SELECT
ppc.equipment_id as equipId
FROM
p_check_input pci
LEFT JOIN p_point_classify ppc on pci.point_classify_id = ppc.id
WHERE
pci.id = #{id}
limit 1
</select>
<select
id=
"getPatrolData"
resultType=
"Map"
>
SELECT
pp.id pointId,
...
...
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