From 274bc2d0f7fe8fe7525196e4d7d6ece1cafe2c6c Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期日, 04 二月 2024 17:32:14 +0800 Subject: [PATCH] 1. 新增静安50分制评估结果转换逻辑; 2. 新增根据坐标圆心和半径查询范围内场景逻辑; --- src/main/resources/mapper/ds1/DustDataResultMapper.xml | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/resources/mapper/ds1/DustDataResultMapper.xml b/src/main/resources/mapper/ds1/DustDataResultMapper.xml index 07b6df5..a48cfd7 100644 --- a/src/main/resources/mapper/ds1/DustDataResultMapper.xml +++ b/src/main/resources/mapper/ds1/DustDataResultMapper.xml @@ -1,23 +1,23 @@ -<?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" property="drId" jdbcType="INTEGER" /> - <result column="DR_Scene_Id" property="drSceneId" jdbcType="VARCHAR" /> - <result column="DR_Scene_Name" property="drSceneName" jdbcType="INTEGER" /> - <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" /> + <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" /> </resultMap> - <sql id="Base_Column_List" > + <sql id="Base_Column_List"> <!-- WARNING - @mbg.generated --> -- Gitblit v1.9.3