Commit 9e89c18a authored by liudong1993's avatar liudong1993

1

parent 534bc26c
......@@ -1386,6 +1386,10 @@ namespace Mall.Module.Product
demodel.PaymentWay = OrderPaymentTypeEnum.OnlinePayment;//先默认在线支付
demodel.Remark ??= "";
demodel.ApplyForCancelStatus ??= 0;
if (demodel.Income == 0) {
demodel.OrderStatus = OrderStatusEnum.WaitSendGoods;
demodel.PaymentTime = DateTime.Now;
}
int OrderId = goods_OrderRepository.Insert(demodel, trans);
if (OrderId > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment