Commit ca716caa authored by christ's avatar christ

share

parent e3f23cf3
...@@ -44,6 +44,7 @@ class DeliveryServiceModel extends \Business\AbstractModel ...@@ -44,6 +44,7 @@ class DeliveryServiceModel extends \Business\AbstractModel
// } // }
$orderDao->db->doTransaction(); $orderDao->db->doTransaction();
$orderData['diliveryman_id'] = $data['id']; $orderData['diliveryman_id'] = $data['id'];
$orderData['order_state']=ApiConst::orderStateWaitRecieve;
$orderRes = $orderDao->updateByOrderId($orderData, $data['orderId']); $orderRes = $orderDao->updateByOrderId($orderData, $data['orderId']);
if (!$orderRes) { if (!$orderRes) {
$orderDao->db->doRollback(); $orderDao->db->doRollback();
......
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