Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
rx
Commits
97c6e594
Commit
97c6e594
authored
Aug 22, 2024
by
wujipeng
Browse files
根据设备id查询设备信息
parent
ed36899f
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/rx/pojo/entity/EquipmentEntity.java
View file @
97c6e594
...
...
@@ -17,6 +17,10 @@ public class EquipmentEntity {
@TableId
(
type
=
IdType
.
AUTO
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"路段"
)
@TableField
(
"section"
)
private
String
section
;
@ApiModelProperty
(
value
=
"污水厂名称"
)
@TableField
(
"sewage_plant_name"
)
private
String
sewagePlantName
;
...
...
src/main/resources/mapper/com/ruzhoukj/rx/dao/EquipmentDao.xml
View file @
97c6e594
...
...
@@ -6,6 +6,7 @@
<select
id=
"getDeviceInfoByDeviceId"
resultType=
"com.ruzhoukj.rx.pojo.vo.EquipmentVO"
>
select
id,
section as section,
sewage_plant_name as sewagePlantName,
sewage_plant_id as sewagePlantId,
device_name as deviceName,
...
...
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