springboot
舒殊windy
这个作者很懒,什么都没留下…
展开
-
springboot之mongoDB项目Exception in monitor thread while connecting to server localhost:27017
springboot之mongoDB项目Exception in monitor thread while connecting to server localhost:27017原创 2017-12-07 15:20:05 · 29507 阅读 · 8 评论 -
springboot整合poi,创建和读取.xlsx文件,添加合并单元格、边框以及背景色
最新项目中用到了Excel做配置文件的需求,就想把其记录下来。本文用的xssf,适用于excel高版本步骤如下:1、添加依赖。 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId>...原创 2017-11-27 14:01:31 · 16354 阅读 · 1 评论 -
springboot 连接oracle 找不到oracle.jdbc.driver.OracleDriver
由于maven仓库中没有oracle.jdbc的poi,所以引入<!-- https://mvnrepository.com/artifact/com.oracle/ojdbc6 --><dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6<...原创 2019-01-13 13:02:19 · 6977 阅读 · 0 评论 -
springboot 连接oracle,使用jpa操作数据库
1、添加依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.1.RELEASE</version> &am原创 2019-01-13 13:45:04 · 18338 阅读 · 0 评论 -
springboot url传参最后一个参数小数点后面数据丢失问题
最近,遇到一个bug是,当输入参数比较大的时候,接口返回的数据正常,当数据较小的时候的数据完全不正确。 @RequestMapping(value = "/qpf/lat/{lat}/lon/{lon}", method = RequestMethod.GET) public String getSingleQpf(@PathVariable("lat") double lat,@Path...原创 2019-05-08 23:11:41 · 2037 阅读 · 4 评论 -
iview Table中使用render函数引入子组件,父组件向子组件传参,子组件向父组件传参
父组件,props 传入参数,on 监听getVal 方法 data () { return { columns10: [ { type: 'expand', width: 50, render: (h, params) => { r...原创 2019-06-02 15:26:06 · 4162 阅读 · 0 评论