agent接收数据类型调整匹配,完善资源模板管理、资源监控策略逻辑。

This commit is contained in:
gaoyutao
2025-09-24 17:40:53 +08:00
parent d5f232e295
commit 543b51ca6f
20 changed files with 419 additions and 101 deletions
@@ -94,4 +94,8 @@
#{id}
</foreach>
</delete>
<select id="getAllTemplate" resultType="java.util.Map">
select id, template_name templateName,resourcy_type resourceType from rm_monitor_template
</select>
</mapper>
@@ -125,4 +125,8 @@
)
</foreach>
</insert>
<delete id="deleteByTemplateId" parameterType="Long">
delete from rm_template_linux where template_id = #{templateId}
</delete>
</mapper>
@@ -157,4 +157,8 @@
)
</foreach>
</insert>
<delete id="deleteByTemplateId" parameterType="Long">
delete from rm_template_switch where template_id = #{templateId}
</delete>
</mapper>