!333 增加默认退款金额显示

Merge pull request !333 from Lele/dev
This commit is contained in:
Lele
2024-01-29 06:37:37 +00:00
committed by Gitee

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);
}