Selaa lähdekoodia

添加网格化接口

qiuzijian 1 vuosi sitten
vanhempi
commit
27404ebb0f
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      Modules/Admin/Services/ApiService.php

+ 2 - 0
Modules/Admin/Services/ApiService.php

@@ -166,6 +166,8 @@ class ApiService{
         $result['data']   = [];
 
         $query = DB::connection('mysql_fwview')->table('uf_wghgl_new')
+                   ->where('xjdw', $depart)
+                   ->where('WEEK(lrsj)', 'WEEK(CURDATE())')
                    ->groupBy('lrdate, lrr, xjdw')
                    ->select(
                        [