From 4bcb1ee43667a1093657d2ced4f27e3036c66f49 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 24 Jul 2018 11:50:47 +0800 Subject: [PATCH] 三级警报新添加标准 --- 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