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