Springboot
LanSV
悠闲的公司IT
展开
-
如果你设置好了 servlet.multipart 依然出现Stream ended unexpectedly 错误解决办法
将springboot版本设置为旧版本2.1.3版本测试可用<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <ve...原创 2020-03-02 01:15:42 · 1207 阅读 · 0 评论 -
SpringBoot JPA 调用SQLServer储存过程
版本信息:SpringBoot v2.1.6JPA2.2.4SQLServer 2012业务需求:按时间段连续统计每日销售额,如出现无销售情况,填充日期销售额为0思路:创建储存过程,JPA调用,Service层使用工具类转换查询到的结果集1、创建储存过程储存过程查询结果如图:2、JpaRepository 中调用:public interface 类名...原创 2020-02-08 17:34:48 · 2455 阅读 · 0 评论