11.1 接口信息的采集时间显示问题

dev
lzh1232 8 months ago
parent a2c8083877
commit c20f2f0056
  1. 2
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/EquInterface.java
  2. 2
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquInterfaceMapper.xml

@ -29,8 +29,6 @@ public class EquInterface
private String equId;
/** 采集时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date gatherTime;
/** 端口运行与否(UP/DOWN(true/false)) */

@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
<sql id="selectEquInterfaceVoJoinGather">
select i.id, g.equ_id, i.gather_time, running, rate, commuicate_mode, out_flow, in_flow, in_bandwidth, loss_rate, error_rate, equ_gather_id, interface_id, out_bandwidth from equ_interface i LEFT JOIN equ_gather g ON i.equ_gather_id = g.id
select i.id, g.equ_id, g.gather_time, running, rate, commuicate_mode, out_flow, in_flow, in_bandwidth, loss_rate, error_rate, equ_gather_id, interface_id, out_bandwidth from equ_interface i LEFT JOIN equ_gather g ON i.equ_gather_id = g.id
</sql>
<select id="selectEquInterfaceList" parameterType="EquInterface" resultMap="EquInterfaceResult">

Loading…
Cancel
Save