摘要: @RequestParam 从 URL 查询参数 或 表单数据 中提取单个参数值。用于 GET 请求中的查询字符串,或者 POST 请求中的表单数据 URL: /user?id=123&name=John @GetMapping("/user") public String getUser(@Req 阅读全文
posted @ 2024-12-01 17:16 RainNan 阅读(26) 评论(0) 推荐(0)
摘要: MybatisPlus MybatisPlus 是基于 MyBatis 的增强工具,它简化了 MyBatis 的开发,并提供了一些常用的自动化功能,如 CRUD 操作的自动生成 MybatisPlus 的目标是使得开发者 不再编写重复的 SQL 语句,同时保留 MyBatis 的原有功能,使得 My 阅读全文
posted @ 2024-12-01 16:08 RainNan 阅读(128) 评论(0) 推荐(0)