xiaoyong931011
2020-11-23 3af20297ca45b2161bfe51cbd8fd918b293223c2
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>