| | |
| | | <!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" />
|
| | |
| | |
|
| | |
|
| | | <!-- 插入方法 -->
|
| | | <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>
|