From 9f1cce696af7a385d7673853f517261da91af111 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Mon, 14 Dec 2020 14:54:08 +0800
Subject: [PATCH] 修复离线设备获取AQI的BUG

---
 src/main/resources/mapper/DictionaryMapper.xml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/DictionaryMapper.xml b/src/main/resources/mapper/DictionaryMapper.xml
index f81c477..3127ca3 100644
--- a/src/main/resources/mapper/DictionaryMapper.xml
+++ b/src/main/resources/mapper/DictionaryMapper.xml
@@ -2,11 +2,13 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
 <mapper namespace="com.moral.mapper.DictionaryMapper" >
   <resultMap id="BaseResultMap" type="com.moral.entity.Dictionary" >
-    <id column="dict_name" property="dictName" jdbcType="VARCHAR" />
-    <result column="dict_value" property="dictValue" jdbcType="INTEGER" />
+    <id column="dict_key" property="dictKey" jdbcType="VARCHAR" />
+    <result column="id" property="id" jdbcType="INTEGER" />
+    <result column="dict_name" property="dictName" jdbcType="VARCHAR" />
     <result column="is_delete" property="isDelete" jdbcType="INTEGER" />
+    <result column="description" property="description" jdbcType="VARCHAR" />
   </resultMap>
   <sql id="Base_Column_List" >
-    dict_name, dict_value, is_delete
+    dict_key, id, dict_name, is_delete, description
   </sql>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0