1.用能系统空调关机策略

2.终端模块对外接口
This commit is contained in:
2022-08-04 14:05:45 +08:00
parent 5c288be99b
commit 9a26722f14
16 changed files with 375 additions and 189 deletions

View File

@@ -12,7 +12,7 @@
</select>
<select id="getEleLineList" resultType="EnergyDeviceTreeVO">
select id,pid,name,line_id,3 as level from ele_line
select id,pid,name,line_id as lineId,3 as level from ele_line
where state = 1
order by ele_line.idx
</select>
@@ -178,7 +178,7 @@ WHERE
inner join ele_logic_dev b on a.pid = b.id
inner join ele_net_dev c on b.pid = c.id
where a.state = 1
and a.id in
and a.line_id in
<foreach collection="lineIds" item="item" open="(" close=")" separator=",">
#{item}
</foreach>