[TOC] ## guns集成积木报表 ### 1、guns项目目录 ![](https://img.kancloud.cn/c2/da/c2da460c2515274c1ccd96e486ebf605_701x517.png) ### 2、执行初始化脚本`积木报表sql` [jimureport.sql](https://github.com/zhangdaiscott/JimuReport/blob/master/db "jimureport.sql") ### 3、pom中引入积木报表最新依赖 ``` <dependency> <groupId>org.jeecgframework.jimureport</groupId> <artifactId>jimureport-spring-boot-starter</artifactId> <version>${version}</version> </dependency> ``` 最新版本可以从 http://jimureport.com/doc/log 中查询到 ![](https://img.kancloud.cn/67/c5/67c55c253097e07b6664e9c4da7df48d_1920x935.png) ### 4、GunsApplication添加积木扫描目录(可忽略) ``` org.jeecg.modules.jmreport ``` ![](https://img.kancloud.cn/64/5b/645bce58e94a509e7706a9f5e55cf2f3_1793x908.png) ### 5、local.yml添加minidao配置(可忽略) guns默认是local.yml ``` minidao: base-package: org.jeecg.modules.jmreport.desreport.dao* ``` ![](https://img.kancloud.cn/c0/5e/c05ee237ef8413fc46cc33df8d74bf86_1554x367.png) ### 6、项目启动访问路径 guns默认端口8080 ``` http://localhost:8080/jmreport/list ``` ![](https://img.kancloud.cn/f3/a2/f3a2b3f4a9cd895137a1017a2c2492e3_1880x761.png) ### 7、常见问题 #### 1、需要做权限token传递 详见集成文档-》[积木报表token权限](http://report.jeecg.com/2208864) #### 2、需要上传图片 详见集成文档-》[文件上传配置](http://report.jeecg.com/2186109)