From 2bc319c2c241d7646cb6805f9364cb7416edfa0a Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Mon, 22 Jun 2020 17:31:09 +0800 Subject: [PATCH] add websocket实时发送设备数据,显示风向等信息 --- 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