mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:33:26 +08:00
修复】修复积分全额抵扣,金额0元购的情况下,进行售后执行完毕,订单未完结的情况。
This commit is contained in:
@@ -652,6 +652,12 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
}
|
||||
|
||||
//如果是0元购,积分单品兑换模式,也应该将订单类型变成已完成。
|
||||
if (refund == 0 && orderInfo.point > 0 && orderInfo.pointMoney == orderInfo.goodsAmount)
|
||||
{
|
||||
orderInfo.status = (int)GlobalEnumVars.OrderStatus.Complete;
|
||||
}
|
||||
|
||||
//判断货物发完没,如果货已发完了,订单发货就变成已发货,为了判断在有退款的情况下,当
|
||||
var allDeliveryed = true; //商品该发货状态,默认发货了,为了判断部分发货的情况下,的订单发货状态
|
||||
var noDeliveryed = true; //是否都没发货,默认都没发货
|
||||
|
||||
Reference in New Issue
Block a user