demand: TMS系统 - 运输管理 - 漏组批次统计 - 查询漏组批次统计列表 TMS系统 - 运输管理 - 漏组批次统计 - 导出漏组详细数据 TMS系统 - 运输管理 - 漏组批次统计 - 导出漏组批次统计查询接口数据

committer: heyu
This commit is contained in:
aike 2025-09-27 16:53:47 +08:00
parent 151a43ed4d
commit 3e8efb0f87

View File

@ -57,9 +57,9 @@ public class EmisTmsSiteBatchMissStatisticsController extends BaseController {
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisTmsSiteBatchMissStatistics:exportDetail')") @PreAuthorize("@ss.hasPermi('emis:emisTmsSiteBatchMissStatistics:exportDetail')")
@Log(title = "漏组详细数据导出", businessType = BusinessType.EXPORT) @Log(title = "漏组详细数据导出", businessType = BusinessType.EXPORT)
@GetMapping("/exportDetail") @PostMapping("/exportDetail")
public void exportDetail(HttpServletResponse response, public void exportDetail(HttpServletResponse response,
EmisTmsSiteBatchMissStatistics emisTmsSiteBatchMissStatistics) { @RequestBody EmisTmsSiteBatchMissStatistics emisTmsSiteBatchMissStatistics) {
try { try {
// 设置响应头,支持流式传输 // 设置响应头,支持流式传输
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
@ -90,9 +90,9 @@ public class EmisTmsSiteBatchMissStatisticsController extends BaseController {
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisTmsSiteBatchMissStatistics:exportStatistics')") @PreAuthorize("@ss.hasPermi('emis:emisTmsSiteBatchMissStatistics:exportStatistics')")
@Log(title = "漏组批次统计导出", businessType = BusinessType.EXPORT) @Log(title = "漏组批次统计导出", businessType = BusinessType.EXPORT)
@GetMapping("/exportStatistics") @PostMapping("/exportStatistics")
public void exportStatistics(HttpServletResponse response, public void exportStatistics(HttpServletResponse response,
EmisTmsSiteBatchMissStatistics emisTmsSiteBatchMissStatistics) { @RequestBody EmisTmsSiteBatchMissStatistics emisTmsSiteBatchMissStatistics) {
try { try {
statisticsService.exportStatisticsData(response, emisTmsSiteBatchMissStatistics); statisticsService.exportStatisticsData(response, emisTmsSiteBatchMissStatistics);
} catch (Exception e) { } catch (Exception e) {