gistfile1.txt select * from Students select * from Students where sid = #{sid} insert into Students values(#{sid},#{sname},#{spassword},#{tid}) delete Students where sid = #{sid} update Students set sname=#{sname},spassword=#{spassword},tid
//通过这段配置,大家可以发现,查询语句同增删改语句的返回值类型不同。查询返回的是一个对象或一个集合,而增删改返回的则是一个整型数值。