package com.example.webproject.com.Mapper; import com.example.webproject.com.Pojo.account; import org.apache.ibatis.annotations.*; import java.util.List; @Mapper public interface account_operator { //查出所有的记录 // @Select("select * from account_table") public List findAll(); // @Select("select * from account_table where txl_account=#{account}") public account findOne( @Param("txl_account") String txl_account); //新增加一条记录 // @Insert("insert into account_table values(txl_account=#{account},txl_password=#{password})") public Integer insertOne(@Param("account") account account); // //删除一条记录 //// @Delete("delete from account_table where txl_account=#{account}") public Integer deleteOne(String txl_account); }