Commit 7a2e2b19 authored by christ's avatar christ

share

parent ca716caa
......@@ -46,10 +46,10 @@ class DeliveryServiceModel extends \Business\AbstractModel
$orderData['diliveryman_id'] = $data['id'];
$orderData['order_state']=ApiConst::orderStateWaitRecieve;
$orderRes = $orderDao->updateByOrderId($orderData, $data['orderId']);
if (!$orderRes) {
$orderDao->db->doRollback();
ErrorModel::throwException(CodeConfigModel::updateOrderFail);
}
// if (!$orderRes) {
// $orderDao->db->doRollback();
// ErrorModel::throwException(CodeConfigModel::updateOrderFail);
// }
$qmDeliveryManLogData['diliveryman_id'] = $data['id'];
$qmDeliveryManLogData['store_id'] = $data['storeId'];
$qmDeliveryManLogData['order_id'] = $data['orderId'];
......
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