fix: 电话报警通知逻辑修改。
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package com.intc.iot.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.intc.common.tenant.core.TenantEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 报警消息与通知记录关联表 aqu_map_message_warn_call_notice
|
||||
*
|
||||
* @author intc
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("aqu_map_message_warn_call_notice")
|
||||
public class AquMapMessageWarnCallNotice extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 报警消息ID(关联 aqu_message_warn.id)
|
||||
*/
|
||||
private Long messageWarnId;
|
||||
|
||||
/**
|
||||
* 通知记录ID(关联 aqu_call_notice.id)
|
||||
*/
|
||||
private Long callNoticeId;
|
||||
|
||||
}
|
||||
@@ -3,27 +3,30 @@ package com.intc.iot.domain;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.intc.common.tenant.core.TenantEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 告警电话通知记录
|
||||
* 对应 C# DbAquWarnCallNotice
|
||||
* 告警电话通知记录 aqu_call_notice
|
||||
*
|
||||
* @author intc-iot
|
||||
* @author intc
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("aqu_call_notice")
|
||||
public class AquWarnCallNotice implements Serializable {
|
||||
public class AquWarnCallNotice extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
@@ -131,14 +134,4 @@ public class AquWarnCallNotice implements Serializable {
|
||||
*/
|
||||
private String tollType;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createdTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updatedTime;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user