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