songxingwei пре 2 година
родитељ
комит
d7b29cc074
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      application/admin/controller/Queue.php

+ 1 - 0
application/admin/controller/Queue.php

@@ -176,6 +176,7 @@ class Queue extends Controller
     public function redo()
     {
         $id = $this->request->get('id');
+        Db::startTrans();
         try {
             $queue = Db::name('system_queue')->where('id',$id)->find();
             if ($queue['deal_count']>0){