![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 53
fanrenxiaoyu01
所有文章为工作中用到过的知识记录
展开
-
记录springboot中cucumber使用mock
springboot cucumber mock的使用原创 2023-06-12 15:28:08 · 212 阅读 · 0 评论 -
java流式查询模式
java使用流式查询模式,包括JDBC流式查询模式、mybatis流式查询模式、springboot+mybatis流式查询模式、springboot jpa流式查询模式原创 2023-03-07 11:11:08 · 2942 阅读 · 0 评论 -
springboot中使用工厂模式
springboot中使用工厂模式工厂类接口类接口实现类controller类工厂类@Servicepublic class TestFactory { /** * 初始化时可以自动将TestInterface加入到map中, * key为实现TestInterface类@Component("test1")指定的值 * value为实现TestInterface类 * Map<"test1",TestImpl1> */ @Autowired privat原创 2021-11-26 15:12:14 · 2525 阅读 · 0 评论 -
springboot多模块依赖注入,访问controller时404问题
springboot多模块依赖注入如图有module1、module2两个模块,其中module2依赖module1,pom文件中需要加入module1的依赖:<dependency> <groupId>com.example</groupId> <artifactId>module1</artifactId> ...原创 2019-08-09 15:57:12 · 8032 阅读 · 3 评论