Commit 24ce00e6 authored by christ's avatar christ

pc

parent b56196ed
...@@ -62,7 +62,7 @@ class DeliveryServiceModel extends \Business\AbstractModel ...@@ -62,7 +62,7 @@ class DeliveryServiceModel extends \Business\AbstractModel
$orderRes = $orderDao->updateByOrderId($orderData, $data['orderId']); $orderRes = $orderDao->updateByOrderId($orderData, $data['orderId']);
} }
if ($orderRes!==false) { if ($orderRes===false) {
$orderDao->db->doRollback(); $orderDao->db->doRollback();
ErrorModel::throwException(CodeConfigModel::updateOrderFail); ErrorModel::throwException(CodeConfigModel::updateOrderFail);
} }
......
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