songxingwei 2 年之前
父節點
當前提交
6515798117
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      application/service/queue/ImportTable2Queue.php

+ 4 - 1
application/service/queue/ImportTable2Queue.php

@@ -135,7 +135,10 @@ class ImportTable2Queue
                     $c['name'] = Db::name('system_table2')->where('import_log_id',$info['id'])->where('dm',$v)->value('name');
                     $c['dm'] = $v;
                     $c['value'] = Db::name('system_table2')->where('import_log_id',$info['id'])->where('dm',$v)->count();
-                    $c['date'] = Db::name('system_table2')->where('import_log_id',$info['id'])->where('dm',$v)->order('id asc')->limit(1)->value('date');
+                    $c['date'] = Db::name('system_table2')->where('import_log_id',$info['id'])
+                        ->where('dm',$v)
+                        ->order('id asc')
+                        ->limit(1)->value('date');
                     array_push($insertarray,$c);
                 }
                 Db::name('system_values3')->insertAll($insertarray);