Commit 0a6680f8 authored by kongfm's avatar kongfm

tzs 导出优化

parent 29a85105
...@@ -163,6 +163,8 @@ public class TemplateExportController extends BaseController { ...@@ -163,6 +163,8 @@ public class TemplateExportController extends BaseController {
if(ValidationUtil.isEmpty(exportDto.getExportId())) { if(ValidationUtil.isEmpty(exportDto.getExportId())) {
throw new BadRequest("未选择需要导出的数据."); throw new BadRequest("未选择需要导出的数据.");
} }
} else {
exportDto.setExportId("");
} }
System.out.println(exportDto.getExportArray()); System.out.println(exportDto.getExportArray());
JSONArray jsonArray = JSONArray.parseArray(exportDto.getExportArray()); JSONArray jsonArray = JSONArray.parseArray(exportDto.getExportArray());
......
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