PC-202304251453\Administrator hace 5 meses
padre
commit
2acf1a3c3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/v1/logic/dataReport/UserLogLogic.php

+ 1 - 1
app/v1/logic/dataReport/UserLogLogic.php

@@ -33,7 +33,7 @@ class UserLogLogic extends BaseLogic
         $unionQuery = [];
         foreach ($monthRange as $month){
             $tableName = 'sdk_reg_log_' . $month;
-            $unionQuery[] = $db->table($tableName)->field("uid,reg_time,imei,brand")->where($where)->whereRaw($whereRaw)->buildSql();
+            $unionQuery[] = $db->table($tableName)->where($where)->whereRaw($whereRaw)->buildSql();
         }
         $fullSql = "(" . implode(' UNION ALL ', $unionQuery) . ") as unTable";