![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 85
不知道明天和天明
这个作者很懒,什么都没留下…
展开
-
WebFlux整合MongoDB+WebFlux集成swagger2
MongoDB服务端可运行在Linux、Windows或mac os x平台,支持32位和64位应用,默认端口为27017。JPA命名规范:find表示查询,findBy+字段名首字母大写,and表示多条件查询,Like 表示模糊查询,NotEquals表示!打开ReactiveCrudRepository这个类,我们就会发现很多数据库操作方法都写在这里,如果我们要自定义查询,可以按照这样写。原创 2022-10-20 12:12:04 · 576 阅读 · 1 评论 -
Springboot+mybatisplus+多数据源
之前一篇讲了vue2.0的框架搭建,本篇主要讲后台使用springboot+mybatisplus. 在springboot项目中引入mybatisplus,需要在pom.xml加入 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4.1</version原创 2021-10-18 11:32:29 · 579 阅读 · 0 评论 -
springboot+mybatis+bootstrap+thymeleaf前后端框架搭建
大家对thymeleaf框架比较不熟悉,其实thymeleaf是spring官方推荐的前台框架,今天就教大家如何使用thymeleaf整合到springboot中。 创建maven项目,pom.xml文件添加springboot需要的依赖包 <dependencies> <!--springboot启动依赖包--> <dependency> <groupId>org.springframework.boot</group原创 2020-12-22 13:02:10 · 1053 阅读 · 0 评论