|
@@ -482,7 +482,7 @@ public class OrderRefundController {
|
|
|
newOrderRefund.setApplyTime(new Date());
|
|
|
newOrderRefund.setUpdateTime(new Date());
|
|
|
newOrderRefund.setFreightAmount(order.getFreightAmount());
|
|
|
- newOrderRefund.setOffsetPoints(order.getOffsetPoints());
|
|
|
+ newOrderRefund.setOffsetPoints(order.getOffsetPoints()==null?0:order.getOffsetPoints());
|
|
|
OrderRefund orderRefund = orderRefundService.applyRefund(newOrderRefund);
|
|
|
if (!orderRefundSkuList.isEmpty()){
|
|
|
orderRefundSkuList.forEach(c->{
|