fix(basic-pricing): 修复代金券码为空的问题
All checks were successful
Gitea/FrameTour-BE/pipeline/head This commit looks good

- 在 VoucherPrintServiceImpl 类中,为 existingRecord 对象添加代金券码
- 将 existingRecord 的 voucherCode 字段值赋给
This commit is contained in:
2025-08-26 01:26:11 +08:00
parent 3d79777b84
commit 581efa327c

View File

@@ -160,6 +160,7 @@ public class VoucherPrintServiceImpl implements VoucherPrintService {
if (existingRecord == null) { if (existingRecord == null) {
return null; return null;
} }
existingRecord.setCode(existingRecord.getVoucherCode());
return buildResponse(existingRecord); return buildResponse(existingRecord);
} }