摘要:
Mybatis 连表查询 准备 创建数据表 SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- -- Table structure for student -- CREATE TABLE `student` ( `id` int(255) NOT N 阅读全文
posted @ 2020-09-15 21:52
Ivy丶
阅读(472)
评论(0)
推荐(0)
摘要:
注解开发 import com.example.pojo.User; import org.apache.ibatis.annotations.Select; public interface UserDao { @Select("select * from mybatis.user where i 阅读全文
posted @ 2020-09-15 19:05
Ivy丶
阅读(121)
评论(0)
推荐(0)
摘要:
Mybatis分页 通常的xml配置写法 List<User> getUserListPaged(Map<String, Integer> map); <select id="getUserListPaged" resultType="com.example.pojo.User" parameter 阅读全文
posted @ 2020-09-15 18:13
Ivy丶
阅读(91)
评论(0)
推荐(0)