Giter VIP home page Giter VIP logo

ladlee666 / jasperreport-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from giaoladd/jasperreport-client

0.0 0.0 0.0 5 KB

本项目对JasperReports进行了高度封装,使得生成PDF文档变得异常简便。用户只需要将生成PDF的原始数据存储在MinIO或本地磁盘目录上,然后调用客户端接口便可以轻松实现PDF的生成,大大减少了开发时间。

License: Apache License 2.0

Java 100.00%

jasperreport-client's Introduction

JasperClient

介绍

本Java项目对JasperReports进行了高度封装,使得生成PDF文档变得异常简便。用户只需要将生成PDF的原始数据存储在MinIO或本地磁盘目录上,然后调用客户端接口便可以轻松实现PDF的生成,大大减少了开发时间。

源数据配置

yaml配置:

1.存储在本地
jasper:
  print:
    storage: local 
	local:
  	  templatePath: static/file/jasper

2.存储在minio
jasper:
  print:
	storage: minio
	minio:
	  bucket: jasper #存储源数据的桶名
	  config:
	    url: 127.0.0.1
		port: 9000
		accessKey: admin
		secretKey: 123456

使用说明

@Autowired
private JasperClient jasperClient;

/**
 * name:    模板名称
 * jsonstr:json格式的源数据
 **/
DataBuffer dataBuffer = jasperClient.printPDFByJson(name, jsonstr);

付费购买源码

微信支付100RMB并备注邮箱,我们将在24小时内发送源码到指定邮箱
**注意: 请考虑清楚后购买,源代码一但发出之后概不退款。**

WX(卫星)扫码:

image

jasperreport-client's People

Contributors

giaoladd 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.