cqp 3 nedēļas atpakaļ
vecāks
revīzija
89f37733d5
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/Service/WorkFlowService.php

+ 2 - 0
app/Service/WorkFlowService.php

@@ -486,6 +486,8 @@ class WorkFlowService extends Service
                     if (!$status) {
                         throw new \Exception("业务数据更新失败: " . $resMsg);
                     }
+                }elseif ($draft->opt_type == 2){
+                    DB::table($w->document_type)->where('id', $w->document_id)->update($draft->content);
                 }
             }
         }