fix: 增加默认退款金额显示

This commit is contained in:
lele0521 2024-01-29 14:35:19 +08:00
parent fc869a34e0
commit 8e275613e1

View File

@ -172,6 +172,13 @@ public class OrderItem extends BaseEntity {
return isRefund;
}
public double getRefundPrice() {
if (refundPrice == null) {
return 0;
}
return refundPrice;
}
public PriceDetailDTO getPriceDetailDTO() {
return JSONUtil.toBean(priceDetail, PriceDetailDTO.class);
}