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.WtToken; @Mapper public interface WtTokenDao { int insert(@Param("item") WtToken wtToken); int batchInsert(@Param("list") List wtTokenList); int updateByModel(@Param("record") WtToken wtToken); int deleteById(Integer id); WtToken selectById(Integer id); WtToken selectBySymbol(String symbol); List selectAllToken(); WtToken selectMainToken(); }