tongshanglei 2 年之前
父節點
當前提交
77a103e5f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      catch/map/controller/RouteMap.php

+ 1 - 1
catch/map/controller/RouteMap.php

@@ -667,7 +667,7 @@ class RouteMap extends CatchController
         $cond['page']=isset($params['page'])?$params['page']:1;
         $cond['limit']=isset($params['limit'])?$params['limit']:10;
         $rows=[];
-        $rows=queryOracleSelect('(SELECT * FROM DSSC2.W_DW_RF_RECORD  ORDER BY ID DESC) a',$cond,'a.RF_FLAGID,a.RF_STAT,a.RF_ID,to_char(a.RF_DATE,\'yyyy-mm-dd hh24:mi:ss\') RF_DATE');
+        $rows=queryOracleSelect('(SELECT * FROM DSSC2.W_DW_RF_RECORD  ORDER BY RF_DATE DESC) a',$cond,'a.RF_FLAGID,a.RF_STAT,a.RF_ID,to_char(a.RF_DATE,\'yyyy-mm-dd hh24:mi:ss\') RF_DATE');
         
         foreach($rows as &$val){
             $vehicle_sql='SELECT o.PLATE_NO FROM DSSC3.W_DW_NON_MOTOR o,DSSC3.W_DW_RFID_TAGS s WHERE s.RFID_SN =\''.$val['RF_FLAGID'].'\'  AND o.rfid_id = s.id  ';