在线监测算法每日更新导致告警单丢失问题

This commit is contained in:
xy
2025-12-26 11:24:22 +08:00
parent 2dccb22cf8
commit 6d8bfacd0a
4 changed files with 53 additions and 7 deletions

View File

@@ -95,4 +95,6 @@ public interface DeptLineMapper extends BaseMapper<DeptLine> {
List<SubGetBase> selectSubStationList(@Param("param") SubstationParam substationParam);
List<String> getLineByDeptIdAndNewStation(@Param("ids") List<String> id,@Param("dictTree")List<String> dictTree);
List<DeptLine> getOnlineMonitor();
}

View File

@@ -300,4 +300,16 @@
</if>
</where>
</select>
<select id="getOnlineMonitor" resultType="DeptLine">
select
t1.Line_Id lineId,
t1.Id id
from
pq_dept_line t1,
pq_line_detail t2
where
t1.Line_Id = t2.Id and t2.Run_Flag = 0
</select>
</mapper>