From c941ed6a432b8bab15a5930fbb32b1bc97778175 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 09 一月 2024 17:25:15 +0800
Subject: [PATCH] 1. 多项调整

---
 src/main/kotlin/cn/flightfeather/supervision/domain/ds3/mapper/FumeExceptionDataMapper.java |    8 ++
 src/main/resources/mapper/ds3/FumeExceptionDataMapper.xml                                   |   22 +++++
 src/main/kotlin/cn/flightfeather/supervision/domain/ds3/entity/FumeExceptionData.java       |  166 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 196 insertions(+), 0 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/domain/ds3/entity/FumeExceptionData.java b/src/main/kotlin/cn/flightfeather/supervision/domain/ds3/entity/FumeExceptionData.java
new file mode 100644
index 0000000..18f3eda
--- /dev/null
+++ b/src/main/kotlin/cn/flightfeather/supervision/domain/ds3/entity/FumeExceptionData.java
@@ -0,0 +1,166 @@
+package cn.flightfeather.supervision.domain.ds3.entity;
+
+import java.util.Date;
+import javax.persistence.*;
+
+@Table(name = "abnormal_data")
+public class FumeExceptionData {
+    /**
+     * 搴忓彿
+     */
+    @Id
+    private Integer id;
+
+    /**
+     * 璁惧缂栧彿
+     */
+    @Column(name = "dev_id")
+    private String devId;
+
+    private String exception;
+
+    /**
+     * 寮傚父绫诲瀷
+     */
+    @Column(name = "exception_type")
+    private String exceptionType;
+
+    /**
+     * 鍦板尯
+     */
+    private String region;
+
+    /**
+     * 寮�濮嬫椂闂�
+     */
+    @Column(name = "begin_time")
+    private Date beginTime;
+
+    /**
+     * 缁撴潫
+     */
+    @Column(name = "end_time")
+    private Date endTime;
+
+    /**
+     * 鑾峰彇搴忓彿
+     *
+     * @return id - 搴忓彿
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * 璁剧疆搴忓彿
+     *
+     * @param id 搴忓彿
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * 鑾峰彇璁惧缂栧彿
+     *
+     * @return dev_id - 璁惧缂栧彿
+     */
+    public String getDevId() {
+        return devId;
+    }
+
+    /**
+     * 璁剧疆璁惧缂栧彿
+     *
+     * @param devId 璁惧缂栧彿
+     */
+    public void setDevId(String devId) {
+        this.devId = devId == null ? null : devId.trim();
+    }
+
+    /**
+     * @return exception
+     */
+    public String getException() {
+        return exception;
+    }
+
+    /**
+     * @param exception
+     */
+    public void setException(String exception) {
+        this.exception = exception == null ? null : exception.trim();
+    }
+
+    /**
+     * 鑾峰彇寮傚父绫诲瀷
+     *
+     * @return exception_type - 寮傚父绫诲瀷
+     */
+    public String getExceptionType() {
+        return exceptionType;
+    }
+
+    /**
+     * 璁剧疆寮傚父绫诲瀷
+     *
+     * @param exceptionType 寮傚父绫诲瀷
+     */
+    public void setExceptionType(String exceptionType) {
+        this.exceptionType = exceptionType == null ? null : exceptionType.trim();
+    }
+
+    /**
+     * 鑾峰彇鍦板尯
+     *
+     * @return region - 鍦板尯
+     */
+    public String getRegion() {
+        return region;
+    }
+
+    /**
+     * 璁剧疆鍦板尯
+     *
+     * @param region 鍦板尯
+     */
+    public void setRegion(String region) {
+        this.region = region == null ? null : region.trim();
+    }
+
+    /**
+     * 鑾峰彇寮�濮嬫椂闂�
+     *
+     * @return begin_time - 寮�濮嬫椂闂�
+     */
+    public Date getBeginTime() {
+        return beginTime;
+    }
+
+    /**
+     * 璁剧疆寮�濮嬫椂闂�
+     *
+     * @param beginTime 寮�濮嬫椂闂�
+     */
+    public void setBeginTime(Date beginTime) {
+        this.beginTime = beginTime;
+    }
+
+    /**
+     * 鑾峰彇缁撴潫
+     *
+     * @return end_time - 缁撴潫
+     */
+    public Date getEndTime() {
+        return endTime;
+    }
+
+    /**
+     * 璁剧疆缁撴潫
+     *
+     * @param endTime 缁撴潫
+     */
+    public void setEndTime(Date endTime) {
+        this.endTime = endTime;
+    }
+}
\ No newline at end of file
diff --git a/src/main/kotlin/cn/flightfeather/supervision/domain/ds3/mapper/FumeExceptionDataMapper.java b/src/main/kotlin/cn/flightfeather/supervision/domain/ds3/mapper/FumeExceptionDataMapper.java
new file mode 100644
index 0000000..831ddae
--- /dev/null
+++ b/src/main/kotlin/cn/flightfeather/supervision/domain/ds3/mapper/FumeExceptionDataMapper.java
@@ -0,0 +1,8 @@
+package cn.flightfeather.supervision.domain.ds3.mapper;
+
+import cn.flightfeather.supervision.domain.ds3.entity.FumeExceptionData;
+import cn.flightfeather.supervision.domain.util.MyMapper;
+import tk.mybatis.mapper.common.Mapper;
+
+public interface FumeExceptionDataMapper extends MyMapper<FumeExceptionData> {
+}
\ No newline at end of file
diff --git a/src/main/resources/mapper/ds3/FumeExceptionDataMapper.xml b/src/main/resources/mapper/ds3/FumeExceptionDataMapper.xml
new file mode 100644
index 0000000..5090606
--- /dev/null
+++ b/src/main/resources/mapper/ds3/FumeExceptionDataMapper.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="cn.flightfeather.supervision.domain.ds3.mapper.FumeExceptionDataMapper" >
+  <resultMap id="BaseResultMap" type="cn.flightfeather.supervision.domain.ds3.entity.FumeExceptionData" >
+    <!--
+      WARNING - @mbg.generated
+    -->
+    <id column="id" property="id" jdbcType="INTEGER" />
+    <result column="dev_id" property="devId" jdbcType="VARCHAR" />
+    <result column="exception" property="exception" jdbcType="VARCHAR" />
+    <result column="exception_type" property="exceptionType" jdbcType="VARCHAR" />
+    <result column="region" property="region" jdbcType="VARCHAR" />
+    <result column="begin_time" property="beginTime" jdbcType="TIMESTAMP" />
+    <result column="end_time" property="endTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    <!--
+      WARNING - @mbg.generated
+    -->
+    id, dev_id, exception, exception_type, region, begin_time, end_time
+  </sql>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3