禅道bug#1692修复

This commit is contained in:
gaoqr
2026-06-15 19:50:30 +08:00
parent 1a245115e0
commit 7da89cd661
2 changed files with 4 additions and 0 deletions
@@ -77,4 +77,7 @@ public class PurchaseRecordRespVO {
@ExcelProperty("excel.export.head.purchase.record.end.time")
@JsonSerialize(using = LocalDateSerializer.class)
private LocalDate endTime;
@Schema(description = "支付状态")
private Integer payStatus;
}
@@ -132,6 +132,7 @@ public class PurchaseServiceImpl implements PurchaseService {
for (PurchaseRecordDO purchaseRecordDO : resultList) {
PurchaseRecordRespVO respVO = BeanUtil.copyProperties(purchaseRecordDO, PurchaseRecordRespVO.class, "paymentMethod");
respVO.setPaymentMethod(i18nUtils.getMessage(PayChannelCodeEnum.describe(purchaseRecordDO.getPaymentMethod())));
respVO.setPayStatus(purchaseRecordDO.getStatus());
respVOS.add(respVO);
}
respVOS.forEach(respVO -> {