소스 검색

tested the printing with another file

master
부모
커밋
5babd1ad50
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +5
    -3
      src/main/java/com/ffii/fpsms/modules/purchaseOrder/web/PurchaseOrderController.kt

+ 5
- 3
src/main/java/com/ffii/fpsms/modules/purchaseOrder/web/PurchaseOrderController.kt 파일 보기

@@ -72,10 +72,11 @@ class PurchaseOrderController(
@GetMapping("/detail/{id}") // purchaseOrderId
fun getDetailedPo(@PathVariable id: Long): Map<String, Any> {

/* tested the sample printing function by a pdf file
/*
// tested the sample printing function by a pdf file
// just get a pdf file for demo , it can be any files? didn't try pdf with pages or multi pdf files
val request = ExportQrCodeRequest(
stockInLineIds = listOf(1L)
stockInLineIds = listOf(2L)
)
val pdf = stockInLineService.exportStockInLineQrcode(request)
val jasperPrint = pdf["report"] as JasperPrint
@@ -95,7 +96,8 @@ class PurchaseOrderController(
// 4. Ensure the temporary file is deleted after the print job is sent.
tempPdfFile.delete()
}
*/
*/

return purchaseOrderService.getDetailedPo(id)
}


불러오는 중...
취소
저장