自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 问答 (6)
  • 收藏
  • 关注

原创 log4j日志的实现

1.添加依赖把spring-boot-starter-logging的依赖排除掉,只使用slf4j-log4j12 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <exclusions> <exclusion> <gro

2020-12-30 18:06:42 180

原创 前后端跨域Cors的解决

1.添加配置类:package com.imooc.config;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.CorsConfiguration;import org.springframework.web.cors.UrlBasedCorsConf

2020-12-30 17:53:52 151

原创 面向切面AOP的使用

1.添加依赖:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId></dependency>2.添加配置类:import org.aspectj.lang.ProceedingJoinPoint;import org.aspectj.lang.annota

2020-12-30 17:43:08 98

原创 Swagger2的使用

Swagger2的使用1.添加依赖<!-- swagger2 配置 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.4.0</version> </dependency> <dependency>

2020-12-30 17:29:02 98 1

原创 pivot实现动态行转列

if object_id(‘tempdb…##MyTemp’) is not nullbeginDROP TABLE ##MyTemp --如果有存在就删除临时表endset @sql_str = ‘SELECT ProdId, ’ + @clos + ’ into ##MyTemp from(select ProdId, Qty, ProdDatefrom A) xpivot(sum(Qty)for ProdDate in (’ + @clos + ')) p ’exec

2020-12-26 17:55:49 252 1

mybatis-generator-for-imooc.7z

Mybatis自动生成工具

2021-01-08

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除