摘要: 使用Mybatis实现CRUD dao层接口 public interface UserMapper { //增 public int addUser(User user); //删 public int deleteUserById(@Param("id") int id); //改 public 阅读全文
posted @ 2021-01-18 22:34 xxgbl 阅读(120) 评论(0) 推荐(0)
摘要: Mybatis的使用 官网:https://mybatis.org/mybatis-3/zh/index.html 导包 <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api --> <dependency> 阅读全文
posted @ 2021-01-18 21:30 xxgbl 阅读(94) 评论(0) 推荐(0)