From 45b922e93d8cf867a46f15d1db30c7e380e965b1 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 24 Nov 2020 10:25:48 +0800 Subject: [PATCH] modify --- src/main/resources/mapper/member/WtTokenDao.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/mapper/member/WtTokenDao.xml b/src/main/resources/mapper/member/WtTokenDao.xml index c369fca..2b46dbe 100644 --- a/src/main/resources/mapper/member/WtTokenDao.xml +++ b/src/main/resources/mapper/member/WtTokenDao.xml @@ -2,7 +2,7 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.xcong.excoin.common.system.dao.WtTokenDao"> +<mapper namespace="com.xcong.excoin.modules.login.dao.WtTokenDao"> <!-- 定义WtToken 的复杂关联map --> <!-- 字段sql --> @@ -32,7 +32,7 @@ </sql> <!-- 插入方法 --> - <insert id="insert" parameterType="com.xcong.excoin.common.system.entity.WtBlock" + <insert id="insert" parameterType="com.xcong.excoin.modules.login.entity.WtToken" useGeneratedKeys="true" keyProperty="item.id"> INSERT INTO wt_token ( <include refid="columns"></include> @@ -88,27 +88,27 @@ <!-- 根据id查询--> - <select id="selectById" resultType="com.xcong.excoin.common.system.entity.WtToken"> + <select id="selectById" resultType="com.xcong.excoin.modules.login.entity.WtToken"> select <include refid="columns"></include> from wt_token where id=#{id} </select> - <select id="selectBySymbol" resultType="com.xcong.excoin.common.system.entity.WtToken"> + <select id="selectBySymbol" resultType="com.xcong.excoin.modules.login.entity.WtToken"> select <include refid="columns"></include> from wt_token where symbol =#{symbol} </select> - <select id="selectAllToken" resultType="com.xcong.excoin.common.system.entity.WtToken"> + <select id="selectAllToken" resultType="com.xcong.excoin.modules.login.entity.WtToken"> select <include refid="columns"></include> from wt_token </select> - <select id="selectMainToken" resultType="com.xcong.excoin.common.system.entity.WtToken"> + <select id="selectMainToken" resultType="com.xcong.excoin.modules.login.entity.WtToken"> select <include refid="columns"></include> from wt_token where main = 1 -- Gitblit v1.9.1