From 46872a311da9480d3edb19223aca2e0833fb1e31 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期二, 17 十二月 2024 11:41:00 +0800 Subject: [PATCH] 1. 完成数据产品中间结果基本信息和具体信息入库 2. 修改ColInspectionInfo.kt 监管时间格式修改为yyyy-mm-dd 3. 新增数据产品类型枚举类 DataProductType 4. 修改BaseTemplate实现类通过重写genData方法生成Template相关数据 5. TODO 其他未涉及到的产品对象的中间结果对象 --- 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