cqp преди 4 седмици
родител
ревизия
89f37733d5
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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);
                 }
             }
         }