Commit 55dd663f by 杨林龙

修改激活报表导出报表名

1 parent 2809258f
......@@ -47,7 +47,7 @@ public class ConmonTearDownAlarmController {
@ApiOperation(value = "导出所有类型设备拆除报警数据")
@GetMapping(value = "/export", consumes = MediaType.APPLICATION_OCTET_STREAM_VALUE)
public R<String> commonExport(CommonTearDownSearch commonTearDownSearch) {
String fileName = FdfsUtils.getFileName("设备激活表");
String fileName = FdfsUtils.getFileName("通用防拆报警表");
List<CommonTearDownModelExport> commonTearDownAlarmList = tearDownAlarmSevice.commonExport(commonTearDownSearch);
// 将文件写入内存流 然后上传到文件服务器 返回文件服务器的地址给前端 前端执行下载
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!