From c55c9a51cea46caea88b2bee5cc3c9ddaa9fc468 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期三, 11 十二月 2024 08:44:22 +0800
Subject: [PATCH] 1. 新增 BaseExcel.kt 和 BaseTemplate.kt 的 toObject输出到对象方法 2. 新增 BaseTemplate 是否执行的状态属性 3. 在cn.flightfeather.supervision.business.report.bean包下新增 BaseTemplateResult.kt 结果对象抽象类 以及 ProAnalysisSummaryResult.kt 和 ProDetailSummaryResult.kt 对应实现:问题整改动态跟踪和分街镇问题整改分析的中间结果对象  注:除了问题整改动态跟踪和分街镇问题整改分析其他的汇总表对象中都没有对应中间结果对象,因此这里还有报错信息

---
 src/main/resources/mapper/ds1/DustDataResultMapper.xml |   37 +++++++++++++++++++------------------
 1 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/src/main/resources/mapper/ds1/DustDataResultMapper.xml b/src/main/resources/mapper/ds1/DustDataResultMapper.xml
index a48cfd7..ba44d8c 100644
--- a/src/main/resources/mapper/ds1/DustDataResultMapper.xml
+++ b/src/main/resources/mapper/ds1/DustDataResultMapper.xml
@@ -1,27 +1,28 @@
-<?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.ds1.mapper.DustDataResultMapper">
-  <resultMap id="BaseResultMap" type="cn.flightfeather.supervision.domain.ds1.entity.DustDataResult">
+<?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.ds1.mapper.DustDataResultMapper" >
+  <resultMap id="BaseResultMap" type="cn.flightfeather.supervision.domain.ds1.entity.DustDataResult" >
     <!--
       WARNING - @mbg.generated
     -->
-    <id column="DR_Id" jdbcType="INTEGER" property="drId" />
-    <result column="DR_Scene_Id" jdbcType="VARCHAR" property="drSceneId" />
-    <result column="DR_Scene_Name" jdbcType="VARCHAR" property="drSceneName" />
-    <result column="DR_Time" jdbcType="DATE" property="drTime" />
-    <result column="DR_Exceed_Times" jdbcType="INTEGER" property="drExceedTimes" />
-    <result column="DR_Avg" jdbcType="DOUBLE" property="drAvg" />
-    <result column="DR_Max" jdbcType="DOUBLE" property="drMax" />
-    <result column="DR_Min" jdbcType="DOUBLE" property="drMin" />
-    <result column="DR_Over_Avg_Per" jdbcType="DOUBLE" property="drOverAvgPer" />
-    <result column="DR_Data_Num" jdbcType="INTEGER" property="drDataNum" />
-    <result column="DR_Effective_Rate" jdbcType="DOUBLE" property="drEffectiveRate" />
+    <id column="DR_Id" property="drId" jdbcType="INTEGER" />
+    <result column="DR_Scene_Id" property="drSceneId" jdbcType="VARCHAR" />
+    <result column="DR_Scene_Name" property="drSceneName" jdbcType="VARCHAR" />
+    <result column="DR_Device_Code" property="drDeviceCode" jdbcType="VARCHAR" />
+    <result column="DR_Time" property="drTime" jdbcType="DATE" />
+    <result column="DR_Exceed_Times" property="drExceedTimes" jdbcType="INTEGER" />
+    <result column="DR_Avg" property="drAvg" jdbcType="DOUBLE" />
+    <result column="DR_Max" property="drMax" jdbcType="DOUBLE" />
+    <result column="DR_Min" property="drMin" jdbcType="DOUBLE" />
+    <result column="DR_Over_Avg_Per" property="drOverAvgPer" jdbcType="DOUBLE" />
+    <result column="DR_Data_Num" property="drDataNum" jdbcType="INTEGER" />
+    <result column="DR_Effective_Rate" property="drEffectiveRate" jdbcType="DOUBLE" />
   </resultMap>
-  <sql id="Base_Column_List">
+  <sql id="Base_Column_List" >
     <!--
       WARNING - @mbg.generated
     -->
-    DR_Id, DR_Scene_Id, DR_Scene_Name, DR_Time, DR_Exceed_Times, DR_Avg, DR_Max, DR_Min, 
-    DR_Over_Avg_Per, DR_Data_Num, DR_Effective_Rate
+    DR_Id, DR_Scene_Id, DR_Scene_Name, DR_Device_Code, DR_Time, DR_Exceed_Times, DR_Avg, 
+    DR_Max, DR_Min, DR_Over_Avg_Per, DR_Data_Num, DR_Effective_Rate
   </sql>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3