Giter VIP home page Giter VIP logo

spring-boot-ureport2-demo's Introduction

Spring Boot UReport2 Demo

初始化数据库

新建数据库

CREATE USER 'choerodon'@'%' IDENTIFIED BY "123456";

CREATE DATABASE report_test DEFAULT CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON report_test.* TO choerodon@'%';
FLUSH PRIVILEGES;

初始化数据库

sh init-local-database.sh

修改配置并拷贝示例报表模板文件

修改配置文件src/main/resources/ureport-config.properties里的ureport.fileStoreDir属性为本地目录,例如/Users/carllhw/ureportfiles

拷贝demo.ureport.xml文件到上述目录即可

启动应用

mvn clean spring-boot:run

预览

浏览器访问地址http://localhost:8080/ureport/designer?_u=file:demo.ureport.xml

点击预览

即可看到预览结果,并可以以多种方式输出报表

spring-boot-ureport2-demo's People

Contributors

carllhw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.