bug-1502 钢构件订单条码打印调整

This commit is contained in:
曹鹏飞 2026-05-26 10:55:23 +08:00
parent 76ccd680a0
commit 280aca0465
1 changed files with 2 additions and 2 deletions

View File

@ -603,7 +603,7 @@ public class StructuralPackageOrderController extends BaseController {
* 导出零件标签PDF
* @param ids 零件id列表
*/
@GetMapping("exportItemPdf")
@PostMapping("exportItemPdf")
public void exportItemPdf(HttpServletResponse response, @RequestBody @NotEmpty List<Long> ids) throws Exception {
List<DeliverStructuralPackageOrderTrayItemVO> list = structuralPackageOrderTrayItemService.getListVOByIds(ids);
@ -636,7 +636,7 @@ public class StructuralPackageOrderController extends BaseController {
* 导出零件标签图片ZIP
* @param ids 零件id列表
*/
@GetMapping(value = "exportItemImageZip", produces = "application/zip")
@PostMapping(value = "exportItemImageZip", produces = "application/zip")
public ResponseEntity<byte[]> exportItemImageZip(@RequestBody @NotEmpty List<Long> ids) throws Exception {
List<DeliverStructuralPackageOrderTrayItemVO> list = structuralPackageOrderTrayItemService.getListVOByIds(ids);
ByteArrayOutputStream baos = new ByteArrayOutputStream();