@@ -25,6 +25,7 @@ class Waste extends Index
foreach ($list as $k=>$v){
$record = Db::name('waste_record')
->where('cateid',$v['id'])
+ ->where('org_id',$this->orgId)
->where($map)
->where('del',0)
->sum('weight');