Commit 2fe10c75 authored by qiankunpingtai's avatar qiankunpingtai
Browse files

修改导出时既返回流又返回json数据导致后台异常的问题

parent b82c0d39
...@@ -290,7 +290,7 @@ public class SupplierController { ...@@ -290,7 +290,7 @@ public class SupplierController {
* @return * @return
*/ */
@GetMapping(value = "/exportExcel") @GetMapping(value = "/exportExcel")
public BaseResponseInfo exportExcel(@RequestParam("supplier") String supplier, public void exportExcel(@RequestParam("supplier") String supplier,
@RequestParam("type") String type, @RequestParam("type") String type,
@RequestParam("phonenum") String phonenum, @RequestParam("phonenum") String phonenum,
@RequestParam("telephone") String telephone, @RequestParam("telephone") String telephone,
...@@ -338,7 +338,6 @@ public class SupplierController { ...@@ -338,7 +338,6 @@ public class SupplierController {
map.put("message", message); map.put("message", message);
res.data = map; res.data = map;
} }
return res;
} }
/** /**
......
Supports Markdown
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