摘要:
####1.Controller逻辑 @GetMapping("/user/delete/{id}") public String deleteUser(@PathVariable("id") Long id, @RequestParam(value = "pn",defaultValue = "1 阅读全文
posted @ 2021-08-23 20:13
潮哥啊边伦个
阅读(114)
评论(0)
推荐(0)
摘要:
####数据表: CREATE TABLE user ( id BIGINT(20) NOT NULL COMMENT '主键ID', name VARCHAR(30) NULL DEFAULT NULL COMMENT '姓名', age INT(11) NULL DEFAULT NULL COM 阅读全文
posted @ 2021-08-23 18:53
潮哥啊边伦个
阅读(47)
评论(0)
推荐(0)
摘要:
####1.导入依赖 查看如何导入 打开 https://github.com/mybatis mybatis官网 搜索场景 选择版本 查看导入的依赖 在上图点击view code 点击spring-boot-starter 点击pom.xml 应该导入的依赖 <dependency> <group 阅读全文
posted @ 2021-08-23 17:43
潮哥啊边伦个
阅读(56)
评论(0)
推荐(0)

浙公网安备 33010602011771号