From d1f1b489eea7730bb1cb78cdae24c626db835298 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Thu, 30 Apr 2020 11:24:16 +0800
Subject: [PATCH] update
---
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