mybatis学习:十

在mybatis中使用注解 1.定义接口,在接口上加入注解java public interface IStudentDao { @Insert("insert into student values(default,#{name},#{phone})") public int addStudent(Student student); @Delete("delete f
相关文章
相关标签/搜索