|
|
|
@@ -23,11 +23,11 @@ import java.io.ByteArrayOutputStream |
|
|
|
class DoUserPickAuditReportController( |
|
|
|
private val doUserPickAuditReportService: DoUserPickAuditReportService, |
|
|
|
) { |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 39 | v1.0.1 | 2026-08-05 */ |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 39 | v1.0.2 | 2026-08-05 */ |
|
|
|
@GetMapping("/do-user-pick-audit-handlers") |
|
|
|
fun handlers(): List<String> = doUserPickAuditReportService.getDistinctHandlers() |
|
|
|
|
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 39 | v1.0.1 | 2026-08-05 */ |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 39 | v1.0.2 | 2026-08-05 */ |
|
|
|
@GetMapping("/print-do-user-pick-audit-excel") |
|
|
|
fun exportExcel( |
|
|
|
@RequestParam(required = false) dateStart: String?, |
|
|
|
@@ -52,8 +52,8 @@ class DoUserPickAuditReportController( |
|
|
|
contentType = MediaType.parseMediaType( |
|
|
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", |
|
|
|
) |
|
|
|
setContentDispositionFormData("attachment", "DoUserPickAudit.xlsx") |
|
|
|
set("filename", "DoUserPickAudit.xlsx") |
|
|
|
setContentDispositionFormData("attachment", "成品出倉揀貨合規報告.xlsx") |
|
|
|
set("filename", "成品出倉揀貨合規報告.xlsx") |
|
|
|
} |
|
|
|
return ResponseEntity(bytes, headers, HttpStatus.OK) |
|
|
|
} |
|
|
|
|