Commit 97c6e594 authored by wujipeng's avatar wujipeng
Browse files

根据设备id查询设备信息

parent ed36899f
......@@ -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;
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment