|
@@ -81,8 +81,8 @@ public class PdfController {
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping(value = "/path")
|
|
@RequestMapping(value = "/path")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
- public Map<String, Object> getPath(@RequestParam(required = true) String u, String pr,
|
|
|
|
|
- @RequestParam(required = true) String r, String w, String o, @RequestParam(required = true) String pf,
|
|
|
|
|
|
|
+ public Map<String, Object> getPath(@RequestParam String u, String pr,
|
|
|
|
|
+ @RequestParam String r, String w, String o, @RequestParam String pf,
|
|
|
HttpServletRequest request, HttpServletResponse response)
|
|
HttpServletRequest request, HttpServletResponse response)
|
|
|
throws JRException, IOException, DocumentException, SQLException {
|
|
throws JRException, IOException, DocumentException, SQLException {
|
|
|
u = u == null ? null : u.toUpperCase();
|
|
u = u == null ? null : u.toUpperCase();
|
|
@@ -150,8 +150,8 @@ public class PdfController {
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping(value = "/data")
|
|
@RequestMapping(value = "/data")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
- public Map<String, Object> getData(@RequestParam(required = true) String u, String pr,
|
|
|
|
|
- @RequestParam(required = true) String r, String w, String o, @RequestParam(required = true) String pf,
|
|
|
|
|
|
|
+ public Map<String, Object> getData(@RequestParam String u, String pr,
|
|
|
|
|
+ @RequestParam String r, String w, String o, @RequestParam String pf,
|
|
|
HttpServletRequest request, HttpServletResponse response)
|
|
HttpServletRequest request, HttpServletResponse response)
|
|
|
throws JRException, IOException, DocumentException, SQLException {
|
|
throws JRException, IOException, DocumentException, SQLException {
|
|
|
u = u == null ? null : u.toUpperCase();
|
|
u = u == null ? null : u.toUpperCase();
|
|
@@ -203,8 +203,8 @@ public class PdfController {
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping(value = "/download")
|
|
@RequestMapping(value = "/download")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
- public void download(@RequestParam(required = true) String u, String pr, @RequestParam(required = true) String r,
|
|
|
|
|
- String w, String o, @RequestParam(required = true) String pf, String n, HttpServletRequest request,
|
|
|
|
|
|
|
+ public void download(@RequestParam String u, String pr, @RequestParam String r,
|
|
|
|
|
+ String w, String o, @RequestParam String pf, String n, HttpServletRequest request,
|
|
|
HttpServletResponse response)
|
|
HttpServletResponse response)
|
|
|
throws JRException, IOException, DocumentException, SQLException, IllegalStateException {
|
|
throws JRException, IOException, DocumentException, SQLException, IllegalStateException {
|
|
|
u = u == null ? null : u.toUpperCase();
|
|
u = u == null ? null : u.toUpperCase();
|