mybatis plus分页查询相关

mybatis plus分页查询相关

使用 Wrapper 自定义SQL${ew.customSqlSegment}使用必须继承baseMapper<entity>才能使用匹配Wrapper 问题……

feign问题和解决

feign问题和解决

feign传递oauth2-token的问题和解决在使用spring OAuth2时,远程调用使用feign,需要在请求头中加入token信息,在使用hystrix熔断时,造成无法添加tok……

try catch和throws区别

try catch和throws区别

try catchtry catch是直接捕获异常,进行处理throws方法本身只是抛出异常,由函数调用者来捕获异常。 若产生异常,异常会沿着调用栈下移,一直找到与之匹配的处……

Spring cloud alibaba

Spring cloud alibaba

简介Spring Cloud Alibaba 致力于提供微服务开发的一站式解决方案。此项目包含开发分布式应用微服务的必需组件,方便开发者通过 Spring Cloud 编程模型轻松使用这些……

时间类格式化

时间类格式化

Date方法1:properties文件添加# 时间spring.jackson.date-format=yyyy-MM-dd HH:mm:ssspring.jackson.time-……

spring不返回指定字段

spring不返回指定字段

@JsonIgnore# 示例@JsonIgnore@ApiModelProperty(value = "用户密码")private String password;……