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
65bba10a
Commit
65bba10a
authored
Sep 19, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统部件查询增加code
parent
d1e74e53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
EquipCountBySystemVO.java
...in/equipmanage/common/entity/vo/EquipCountBySystemVO.java
+2
-0
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+2
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/entity/vo/EquipCountBySystemVO.java
View file @
65bba10a
...
...
@@ -14,6 +14,8 @@ import lombok.Data;
public
class
EquipCountBySystemVO
{
@ApiModelProperty
(
value
=
"设备定义id"
)
private
Long
equipmentId
;
@ApiModelProperty
(
value
=
"设备定义Code"
)
private
String
equipmentCode
;
@ApiModelProperty
(
value
=
"设备名称"
)
private
String
equipmentName
;
@ApiModelProperty
(
value
=
"设备分类名称"
)
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
65bba10a
...
...
@@ -11,6 +11,7 @@
<resultMap
id=
"EquipCountBySystemId"
type=
"com.yeejoin.equipmanage.common.entity.vo.EquipCountBySystemVO"
>
<result
property=
"equipmentId"
column=
"equipment_id"
></result>
<result
property=
"equipmentCode"
column=
"equipment_code"
></result>
<result
property=
"equipmentName"
column=
"equipment_name"
></result>
<result
property=
"equipmentNum"
column=
"num"
></result>
<result
property=
"unitName"
column=
"unit_name"
></result>
...
...
@@ -114,6 +115,7 @@
<select
id=
"getEquipCountPageBySystemId"
resultMap=
"EquipCountBySystemId"
>
SELECT
wle.id equipment_id,
wle.code equipment_code,
wle.NAME equipment_name,
count(spe.id) num,
unit.name unit_name,
...
...
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