风机列表修改

This commit is contained in:
huguanghan 2024-10-28 09:24:07 +08:00
parent 7372cc9eaa
commit fb46bad74c
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,9 @@ public class WindTurbinesPageVo {
private String name;
@JsonSerialize(using = ToStringSerializer.class)
private Long modelId;
private String model;
private String belongLine;

View File

@ -166,7 +166,7 @@
select distinct belong_line as name from sys_equipment t where t.object_type = 10002 and belong_line !='';
</select>
<select id="queryAllWindList" resultType="com.das.modules.page.domian.WindTurbinesPageVo">
select se.id as irn,se.name,se.model,se.belong_line as belongLine from sys_equipment se where se.object_type = #{objectType} order by se.name
select se.id as irn,se.name,se.model,se.belong_line as belongLine se.iot_model_id as modelId from sys_equipment se where se.object_type = #{objectType} order by se.name
</select>