Commit bf74c25e authored by hujun's avatar hujun

成交报告审核开启事务

parent 4329c97e
...@@ -276,7 +276,7 @@ class OBargainModel extends Model ...@@ -276,7 +276,7 @@ class OBargainModel extends Model
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function addCheckBargain($id, $data) { public function addCheckBargain($id, $data) {
$this->startTrans();
$bargain_data = $this->field('id,report_id,agent_id,order_no,order_id')->where([ $bargain_data = $this->field('id,report_id,agent_id,order_no,order_id')->where([
'id' => $id, 'id' => $id,
'status' => 10 'status' => 10
......
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