增加计算单位可选方法.

优化图形分析根据可选时间补0逻辑,完成度70%。
优化业务自定义95值计算功能修改相关数据方法。
This commit is contained in:
gaoyutao
2025-11-04 19:11:07 +08:00
parent fe1763386a
commit 84e003893d
18 changed files with 438 additions and 53 deletions
@@ -39,8 +39,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="priority != null "> and priority = #{priority}</if>
<if test="queryName != null and queryName != ''">
and (policy_name like concat('%', #{queryName}, '%')
or template_id in (select id from rm_monitor_template where template_name like concat('%', #{queryName}, '%'))
or resource_group_id in (select id from rm_resource_group where group_name like concat('%', #{queryName}, '%'))
or
<foreach item="item" index="index" collection="queryName.split(',')" open="(" close=")" separator="or">
FIND_IN_SET(#{item}, REPLACE(deploy_device, '\n', ',')) > 0
</foreach>
)
</if>
</where>