zgg há 9 meses atrás
pai
commit
59ed3dfd58
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      application/api/controller/screen/Patrol.php

+ 1 - 0
application/api/controller/screen/Patrol.php

@@ -539,6 +539,7 @@ class Patrol extends Index
             $count1 = Db::name('patrol_record')
                 ->where('org_id',$this->orgId)
                 ->where('patrol_mode',1)
+                ->where('patrol_addr_id',$v['id'])
                 ->where('create_yyyymmdd','=',$curDay)
                 ->count();
             $y1[] = $count1;