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

@@ -55,4 +55,6 @@ public interface PrinterMapper {
void updateUserPhotoListToPrinter(Long memberId, Long scenicId, Integer printerId);
List<MemberPrintResp> listRelationByOrderId(Long orderId);
PrintTaskResp queryTaskByMpId(Integer id);
}