交换机监控策略、snmp工具

This commit is contained in:
gaoyutao
2025-10-16 18:37:33 +08:00
parent 3019f65515
commit c6937eb44b
12 changed files with 692 additions and 13 deletions
@@ -134,4 +134,11 @@
update rm_template_linux set collection_cycle = null
where template_id = #{templateId}
</update>
<delete id="deleteByTemplatePolicyId" parameterType="Long">
delete from rm_template_linux where policy_id = #{policyId}
</delete>
<update id="updateByPolicyId" parameterType="RmTemplateLinux">
update rm_template_linux set collection_cycle = null
where policy_id = #{policyId}
</update>
</mapper>
@@ -165,4 +165,11 @@
update rm_template_switch set collection_cycle = null
where template_id = #{templateId}
</update>
<delete id="deleteByTemplatePolicyId" parameterType="Long">
delete from rm_template_switch where policy_id = #{policyId}
</delete>
<update id="updateByPolicyId" parameterType="RmTemplateLinux">
update rm_template_switch set collection_cycle = null
where policy_id = #{policyId}
</update>
</mapper>