@@ -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;