Commit 25287858 by liulianglang

1

parent 44ed52a5
......@@ -91,9 +91,9 @@ public class KyxsController {
}
}
@RequestMapping("/getFile/{xxzjbh}")
@RequestMapping("/getFile")
@LogOper(czxxLbdm = "07", yymcJyqk = "0701", czxxJyqk = "可疑线索附件下载")
public R getFile(@PathVariable String xxzjbh, String type) {
public R getFile( @RequestParam(required = false) String xxzjbh, @RequestParam(required = false) String type) {
try {
HttpServletResponse response = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getResponse();
kyxsService.getFile(xxzjbh, response,type);
......
......@@ -101,9 +101,9 @@ public class TbStAppDzblController {
}
}
@RequestMapping("/getFile/{xxzjbh}")
@RequestMapping("/getFile")
@LogOper(czxxLbdm = "07", yymcJyqk = "0710", czxxJyqk = "app电子笔录附件下载")
public R getFile(@PathVariable String xxzjbh){
public R getFile(@RequestParam(required = false) String xxzjbh){
try {
HttpServletResponse response = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getResponse();
tbStAppDzblService.getFile(xxzjbh, response);
......
......@@ -121,9 +121,9 @@ public class XcxxController {
}
}
@RequestMapping("/getFile/{xxzjbh}")
@RequestMapping("/getFile")
@LogOper(czxxLbdm = "07", yymcJyqk = "0708", czxxJyqk = "app现场信息附件下载")
public R getFile(@PathVariable String xxzjbh){
public R getFile(@RequestParam(required = false) String xxzjbh){
try {
HttpServletResponse response = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getResponse();
xcxxService.getFile(xxzjbh, response);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment