From 3af20297ca45b2161bfe51cbd8fd918b293223c2 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 23 Nov 2020 14:55:55 +0800 Subject: [PATCH] 20201123 --- src/main/resources/mapper/member/WtTokenDao.xml | 12 ++++++------ src/main/resources/mapper/member/WtWalletMapper.xml | 6 +++--- src/main/resources/mapper/member/WtWordDao.xml | 2 +- src/main/resources/mapper/member/WalletDetailDao.xml | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/resources/mapper/member/WalletDetailDao.xml b/src/main/resources/mapper/member/WalletDetailDao.xml index 7396cb3..dd1b455 100644 --- a/src/main/resources/mapper/member/WalletDetailDao.xml +++ b/src/main/resources/mapper/member/WalletDetailDao.xml @@ -2,9 +2,9 @@ <!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.WalletDetailDao"> +<mapper namespace="com.xcong.excoin.modules.login.dao.WalletDetailDao"> <!-- 定义WtWalletDetail 的复杂关联map --> - <resultMap type="com.xcong.excoin.common.system.entity.WtWalletDetail" id="WtWalletDetailMap"> + <resultMap type="com.xcong.excoin.modules.login.entity.WtWalletDetail" id="WtWalletDetailMap"> <id property="id" column="id"/> <result property="address" column="address"/> <result property="symbol" column="symbol"/> @@ -35,7 +35,7 @@ <!-- 插入方法 --> - <insert id="insert" parameterType="com.xcong.excoin.common.system.entity.WtWalletDetail" + <insert id="insert" parameterType="com.xcong.excoin.modules.login.entity.WtWalletDetail" useGeneratedKeys="true" keyProperty="item.id"> INSERT INTO wt_wallet_detail ( <include refid="columns"></include> 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 diff --git a/src/main/resources/mapper/member/WtWalletMapper.xml b/src/main/resources/mapper/member/WtWalletMapper.xml index ed0a835..1e8a2a2 100644 --- a/src/main/resources/mapper/member/WtWalletMapper.xml +++ b/src/main/resources/mapper/member/WtWalletMapper.xml @@ -2,9 +2,9 @@ <!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.WtWalletDao"> +<mapper namespace="com.xcong.excoin.modules.login.dao.WtWalletDao"> <!-- 定义WtWallet 的复杂关联map --> - <resultMap type="com.xcong.excoin.common.system.entity.WtWallet" id="WtWalletMap"> + <resultMap type="com.xcong.excoin.modules.login.entity.WtWallet" id="WtWalletMap"> <result property="privateKey" column="private_key" /> <result property="mnemonicWords" column="mnemonic_words" /> <result property="password" column="password" /> @@ -40,7 +40,7 @@ <!-- 插入方法 --> - <insert id="insert" parameterType="com.xcong.excoin.common.system.entity.WtWallet" + <insert id="insert" parameterType="com.xcong.excoin.modules.login.entity.WtWallet" useGeneratedKeys="true" keyProperty="item.address"> INSERT INTO wt_wallet ( <include refid="columns"></include> diff --git a/src/main/resources/mapper/member/WtWordDao.xml b/src/main/resources/mapper/member/WtWordDao.xml index 1a3ec5f..1bff79e 100644 --- a/src/main/resources/mapper/member/WtWordDao.xml +++ b/src/main/resources/mapper/member/WtWordDao.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!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.WtWordDao"> +<mapper namespace="com.xcong.excoin.modules.login.dao.WtWordDao"> <select id="selectAllWords" resultType="String"> select word from wt_word -- Gitblit v1.9.1