|  |  |  | 
|---|
|  |  |  | import com.matrix.system.common.bean.BusParameterSettings; | 
|---|
|  |  |  | import com.matrix.system.common.constance.AppConstance; | 
|---|
|  |  |  | import com.matrix.system.common.dao.BusParameterSettingsDao; | 
|---|
|  |  |  | import com.matrix.system.common.interceptor.HostInterceptor; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.MoneyCardUse; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.MoneyCardUseFlow; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.SysVipInfo; | 
|---|
|  |  |  | 
|---|
|  |  |  | //设置支付状态为支付成功 | 
|---|
|  |  |  | modifyMap.put("payStatus", ShopOrder.ORDER_PAY_STATUS_SUCCESS); | 
|---|
|  |  |  | //设置订单状态 | 
|---|
|  |  |  | if (ShopOrder.ORDER_TYPE_GOODS == order.getOrderType()) { | 
|---|
|  |  |  | if (ShopOrder.SHIPPING_METHOD_WL == order.getShippingMethod()) { | 
|---|
|  |  |  | //如果是商品订单则进入待发货 | 
|---|
|  |  |  | modifyMap.put("orderStatus", ShopOrder.ORDER_STATUS_WAIT_SEND); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | //如果是服务订单则进入待评价 | 
|---|
|  |  |  | modifyMap.put("orderStatus", ShopOrder.ORDER_STATUS_WAIT_REMARK); | 
|---|
|  |  |  | } else if (ShopOrder.SHIPPING_METHOD_MDZT == order.getShippingMethod()) { | 
|---|
|  |  |  | //如果是门店自提则进入待收款 | 
|---|
|  |  |  | modifyMap.put("orderStatus", ShopOrder.ORDER_STATUS_WAIT_RECEIVE); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | shopOrderDao.updateByMap(modifyMap); | 
|---|
|  |  |  |  | 
|---|