zgg 2 months ago
parent
commit
59ed3dfd58
1 changed files with 1 additions and 0 deletions
  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;