资源监控模块接口新增,agent下发信息配置
This commit is contained in:
@@ -163,4 +163,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
<select id="getDistDetailsMsgByClientId" parameterType="InitialDiskInfo" resultMap="InitialDiskInfoResult">
|
||||
<include refid="selectInitialDiskInfoVo"/>
|
||||
where client_id = #{clientId} and `name`= #{name}
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -147,4 +147,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<select id="getDockerDetailsMsg" parameterType="InitialDockerInfo" resultMap="InitialDockerInfoResult">
|
||||
<include refid="selectInitialDockerInfoVo"/>
|
||||
where client_id = #{clientId} and `name` = #{name}
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -140,4 +140,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
<select id="getSwitchNetDetailsMsg" parameterType="String" resultMap="InitialSwitchInfoResult">
|
||||
<include refid="selectInitialSwitchInfoVo"/>
|
||||
where client_id = #{clientId}
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -112,7 +112,7 @@
|
||||
<select id="selectRmInitialMonitorItemByIds" parameterType="java.lang.Long" resultMap="RmInitialMonitorItemResult">
|
||||
<include refid="selectRmInitialMonitorItemVo"/>
|
||||
where id in
|
||||
<foreach item="id" collection="monitorIds" open="(" separator="," close=")">
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user