作者 lyh

gx

@@ -120,7 +120,7 @@ class Demo extends Command @@ -120,7 +120,7 @@ class Demo extends Command
120 DB::connection('custom_mysql')->statement(array_values((array)$sql[0])[0]); // 修正此处的sql语句获取方式 120 DB::connection('custom_mysql')->statement(array_values((array)$sql[0])[0]); // 修正此处的sql语句获取方式
121 } 121 }
122 122
123 - if ($table == 'gl_customer_visit' || $table == 'gl_customer_visit_item' || $table == 'gl_inquiry_other' || $table == 'gl_inquiry_form_data' || $table == 'gl_inquiry_form') { 123 + if ($table == 'gl_web_template_c' || $table == 'gl_customer_visit' || $table == 'gl_customer_visit_item' || $table == 'gl_inquiry_other' || $table == 'gl_inquiry_form_data' || $table == 'gl_inquiry_form') {
124 continue; 124 continue;
125 } 125 }
126 DB::connection('custom_mysql')->table($table)->truncate(); // 清空目标表数据 126 DB::connection('custom_mysql')->table($table)->truncate(); // 清空目标表数据