package com.xcong.excoin.modules.login.dao; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import com.xcong.excoin.modules.login.entity.WtWallet; @Mapper public interface WtWalletDao { int insert(@Param("item") WtWallet wtWallet); int batchInsert(@Param("list") List wtWalletList); int updateByModel(@Param("record") WtWallet wtWallet); int deleteByIds(@Param("list") List list); int deleteById(String address); int clearTerminalId(String address); int deleteTerminal(String terminalId); WtWallet selectById(String address); /** * 只有name信息 * @param address * @return */ WtWallet selectSimpleById(String address); WtWallet selectSimpleByTerminalId(String terminalId); WtWallet selectByMnemonicWords(String mnemonicWords); }