You've already forked FrameTour-BE
fix(basic-pricing): 修复代金券码为空的问题
All checks were successful
Gitea/FrameTour-BE/pipeline/head This commit looks good
All checks were successful
Gitea/FrameTour-BE/pipeline/head This commit looks good
- 在 VoucherPrintServiceImpl 类中,为 existingRecord 对象添加代金券码 - 将 existingRecord 的 voucherCode 字段值赋给
This commit is contained in:
@@ -160,6 +160,7 @@ public class VoucherPrintServiceImpl implements VoucherPrintService {
|
||||
if (existingRecord == null) {
|
||||
return null;
|
||||
}
|
||||
existingRecord.setCode(existingRecord.getVoucherCode());
|
||||
return buildResponse(existingRecord);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user