![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
T.ei
这个作者很懒,什么都没留下…
展开
-
springboot启动运行.sql文件自动建表
springboot启动运行.sql文件自动建表import org.apache.ibatis.jdbc.ScriptRunner;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.annotation.Configuration;import javax.annotation.PostConstruct;import javax.annotation.Res原创 2020-07-04 15:21:15 · 926 阅读 · 0 评论 -
springboot对service进行junit测试
@SpringBootTest(classes = SinotnEnmsApplication.class)classes == (工程的启动类)图片: pom.xml中引入以下代码 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>...原创 2019-11-08 11:32:24 · 2155 阅读 · 2 评论