commit
bd048d725c
@ -172,6 +172,13 @@ public class OrderItem extends BaseEntity {
|
|||||||
return isRefund;
|
return isRefund;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public double getRefundPrice() {
|
||||||
|
if (refundPrice == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return refundPrice;
|
||||||
|
}
|
||||||
|
|
||||||
public PriceDetailDTO getPriceDetailDTO() {
|
public PriceDetailDTO getPriceDetailDTO() {
|
||||||
return JSONUtil.toBean(priceDetail, PriceDetailDTO.class);
|
return JSONUtil.toBean(priceDetail, PriceDetailDTO.class);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user