diff --git a/README.md b/README.md index 004ee6e..040bfa8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # 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/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) [![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) diff --git a/jimureport-example/pom.xml b/jimureport-example/pom.xml index 8bd4582..fb9935b 100644 --- a/jimureport-example/pom.xml +++ b/jimureport-example/pom.xml @@ -45,7 +45,7 @@ - 1.7.4 + 1.7.5 1.8 8.0.3 diff --git a/jimureport-example/src/main/java/com/jeecg/modules/jmreport/controller/TestController.java b/jimureport-example/src/main/java/com/jeecg/modules/jmreport/controller/TestController.java deleted file mode 100644 index 8873355..0000000 --- a/jimureport-example/src/main/java/com/jeecg/modules/jmreport/controller/TestController.java +++ /dev/null @@ -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; - } - -}