mirror of https://github.com/jeecgboot/JimuReport
1.7.5 正式版本发布
parent
c0b285ee1d
commit
3d32487b41
|
@ -1,10 +1,10 @@
|
||||||
# JimuReport - 积木报表(开源免费的低代码报表)
|
# JimuReport - 积木报表(开源免费的低代码报表)
|
||||||
|
|
||||||
v1.7.4 | 2024-04-01
|
v1.7.5 | 2024-06-11
|
||||||
|
|
||||||
|
|
||||||
[![](https://img.shields.io/badge/Author-北京国炬软件-orange.svg)](http://jimureport.com)
|
[![](https://img.shields.io/badge/Author-北京国炬软件-orange.svg)](http://jimureport.com)
|
||||||
[![](https://img.shields.io/badge/version-1.7.4-brightgreen.svg)](https://github.com/zhangdaiscott/JimuReport)
|
[![](https://img.shields.io/badge/version-1.7.5-brightgreen.svg)](https://github.com/zhangdaiscott/JimuReport)
|
||||||
[![](https://img.shields.io/badge/Blog-官方博客-blue.svg)](https://jeecg.blog.csdn.net)
|
[![](https://img.shields.io/badge/Blog-官方博客-blue.svg)](https://jeecg.blog.csdn.net)
|
||||||
[![GitHub stars](https://img.shields.io/github/stars/zhangdaiscott/JimuReport.svg?style=social&label=Stars)](https://github.com/zhangdaiscott/JimuReport)
|
[![GitHub stars](https://img.shields.io/github/stars/zhangdaiscott/JimuReport.svg?style=social&label=Stars)](https://github.com/zhangdaiscott/JimuReport)
|
||||||
[![GitHub forks](https://img.shields.io/github/forks/zhangdaiscott/JimuReport.svg?style=social&label=Fork)](https://github.com/zhangdaiscott/JimuReport)
|
[![GitHub forks](https://img.shields.io/github/forks/zhangdaiscott/JimuReport.svg?style=social&label=Fork)](https://github.com/zhangdaiscott/JimuReport)
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<jimureport.version>1.7.4</jimureport.version>
|
<jimureport.version>1.7.5</jimureport.version>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<minio.version>8.0.3</minio.version>
|
<minio.version>8.0.3</minio.version>
|
||||||
<!-- DB驱动 -->
|
<!-- DB驱动 -->
|
||||||
|
|
|
@ -1,57 +0,0 @@
|
||||||
package com.jeecg.modules.jmreport.controller;
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.jdbc.core.JdbcTemplate;
|
|
||||||
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
@RestController
|
|
||||||
@RequestMapping
|
|
||||||
public class TestController {
|
|
||||||
@Autowired
|
|
||||||
private JdbcTemplate jdbcTemplate;
|
|
||||||
@Autowired
|
|
||||||
private NamedParameterJdbcTemplate namedParameterJdbcTemplate;
|
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping(value = "/test/list", method = RequestMethod.GET)
|
|
||||||
public void queryPageList(HttpServletRequest req) {
|
|
||||||
System.out.println("getMaxRows="+jdbcTemplate.getMaxRows());
|
|
||||||
System.out.println("getCacheLimit="+namedParameterJdbcTemplate.getCacheLimit());
|
|
||||||
}
|
|
||||||
|
|
||||||
@RequestMapping(value = "/jimureport/test/getOne", method = RequestMethod.GET)
|
|
||||||
public Map getOne(HttpServletRequest req) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* API示例接口
|
|
||||||
*
|
|
||||||
* @param req
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
@RequestMapping(value = "/jimureport/test/getList", method = RequestMethod.GET)
|
|
||||||
public String getList(HttpServletRequest req) {
|
|
||||||
String json = "{\n" +
|
|
||||||
"\t\"data\": [{\n" +
|
|
||||||
"\t\t\"ctotal\": \"125箱\",\n" +
|
|
||||||
"\t\t\"cname\": \"牛奶0\",\n" +
|
|
||||||
"\t\t\"cprice\": \"56\",\n" +
|
|
||||||
"\t\t\"riqi\": \"2021年08月11日\",\n" +
|
|
||||||
"\t\t\"id\": 100,\n" +
|
|
||||||
"\t\t\"dtotal\": \"1256箱\",\n" +
|
|
||||||
"\t\t\"tp\": \"7000\",\n" +
|
|
||||||
"\t\t\"ztotal\": \"589箱\",\n" +
|
|
||||||
"\t\t\"cnum\": \"每箱12瓶\",\n" +
|
|
||||||
"\t\t\"dId\": \"1\"\n" +
|
|
||||||
"\t}]\n" +
|
|
||||||
"}";
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue