TASK:mitu报表
This commit is contained in:
@@ -10,6 +10,7 @@ import com.mixi.model.dto.StoreDeleteDTO;
|
||||
import com.mixi.model.vo.StoreVO;
|
||||
import com.mixi.service.MiTuExportService;
|
||||
import com.mixi.service.StoreService;
|
||||
import io.minio.errors.MinioException;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -22,6 +23,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.validation.Valid;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
@Api(tags = "mi-tu报表")
|
||||
@@ -41,7 +43,7 @@ public class MiTuExportController {
|
||||
|
||||
@ApiOperation(value = "下载MiTu报表")
|
||||
@GetMapping("/export/{id}")
|
||||
public void exportMiTuReport(@PathVariable Long id, HttpServletResponse response) throws FileNotFoundException {
|
||||
public void exportMiTuReport(@PathVariable Long id, HttpServletResponse response) throws IOException, MinioException {
|
||||
miTuExportService.exportMiTuReport(id, response);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user