Compare commits

..

No commits in common. '2d59fbf7519817b1aae1a11147b5dd5cb3933a11' and 'e1ae9244ae20faf6dd25f2fe94e1396868fd89b5' have entirely different histories.

  1. 2
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/EquInterface.java
  2. 5
      ALOps_sys_backend/alops-system/src/main/java/com/alops/system/domain/dto/MonitorLastDto.java
  3. 2
      ALOps_sys_backend/alops-system/src/main/resources/mapper/system/EquInterfaceMapper.xml

@ -29,6 +29,8 @@ 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)) */

@ -1,7 +1,5 @@
package com.alops.system.domain.dto;
import com.alops.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.sql.Blob;
@ -27,9 +25,6 @@ public class MonitorLastDto {
private String deviceLevel;
private String ip;
private String location;
/** 安装日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date installDate;
private String inCharge;
private String status;

@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
<sql id="selectEquInterfaceVoJoinGather">
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
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
</sql>
<select id="selectEquInterfaceList" parameterType="EquInterface" resultMap="EquInterfaceResult">

Loading…
Cancel
Save