ITeye博客

2019 年文章归档

共 2 篇文章

SpringBoot 部署war包

1.修改打包pom.xml配置 <packaging>war</packaging> 2.移除嵌入式tomcat插件,在pom.xml的spring-boot-starter-web节点,添加如下代码 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-sta…

2019-07-05 14:11 · SpringBoot

oracle 分组后取每组第一条数据

SELECT * FROM (SELECT ROW_NUMBER() OVER(PARTITION BY test.x ORDER BY test.y DESC) rn, test.* FROM test) WHERE rn = 1;

2019-06-20 16:29 · oracle