策略数据下发大概逻辑

This commit is contained in:
2025-07-17 15:58:08 +08:00
parent a4338b3995
commit 9125ce735c
5 changed files with 189 additions and 2 deletions

View File

@ -97,8 +97,10 @@
from ems_strategy_running t
LEFT JOIN ems_strategy main on t.main_strategy_id = main.id
LEFT JOIN ems_strategy aux on t.auxiliary_strategy_id = aux.id
where t.site_id = #{siteId}
and t.`status` != 4
where t.`status` != 4
<if test="siteId != null and siteId != ''">
and t.site_id = #{siteId}
</if>
</select>
<update id="stopEmsStrategyRunning" parameterType="Long">