!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
commit bd048d725c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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