ss 4 months ago
parent
commit
8af370a941
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/screen/Waste.php

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

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