11.7 监控详细界面的数据展示更改

dev
lzh1232 8 months ago
parent 9c18db32cc
commit ada6243ea4
  1. 2
      ALOps_sys_backend/alops-admin/src/main/java/com/alops/web/controller/equManagement/EquVlanController.java
  2. 1
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/AlertMessageMapper.xml
  3. 2
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquInterfaceMapper.xml
  4. 1
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquVlanMapper.xml

@ -57,7 +57,7 @@ public class EquVlanController extends BaseController
@ApiOperation("获取界面Vlan信息")
public TableDataInfo listByEquId(@PathVariable("equId") String equId)
{
startPage();
List<EquVlan> list = equVlanService.selectEquVlanListByEquId(equId);
return getDataTable(list);
}

@ -133,6 +133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE equ_id = #{equid}
)
GROUP BY a.id
ORDER BY a.occur_time DESC
</select>
<!-- 按设备类型统计 -->

@ -72,6 +72,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectEquInterfaceByEquId" parameterType="String" resultMap="EquInterfaceResult">
<include refid="selectEquInterfaceVoJoinGather"/>
where g.equ_id = #{equId}
AND out_flow != 0
AND in_flow != 0
</select>
<insert id="insertEquInterface" parameterType="EquInterface">

@ -57,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectEquVlanListByEquId" parameterType="String" resultMap="EquVlanResult">
<include refid="selectEquVlanVoJoinGather"/>
where g.equ_id = #{equid}
ORDER BY vl.create_time DESC
</select>
<update id="updateVlanNetworkByVlanId" parameterType="com.alops.system.domain.dto.EquVlanNetworkUpdateDto">

Loading…
Cancel
Save