feat(printer): 增加打印任务查询功能并完善商品详情展示

- 在 PrinterMapper 中新增 queryTaskByMpId 方法用于查询打印任务
- 扩展 GoodsDetailVO 类,增加打印机名称和纸张类型字段
- 修改 OrderServiceImpl,在商品列表中设置打印机相关信息
- 更新 PrintTaskResp 类,添加纸张类型属性
- 在 PrinterMapper.xml 中实现 queryTaskByMpId 的 SQL 查询逻辑
This commit is contained in:
2025-10-27 10:24:59 +08:00
parent b3e2601758
commit 27930b1dca
5 changed files with 15 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ public class PrintTaskResp {
private Integer printerId;
private Integer status;
private String printerName;
private String paper;
private String url;
private Integer width;
private Integer height;