ss 4 月之前
父节点
当前提交
8af370a941
共有 1 个文件被更改,包括 1 次插入0 次删除
  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');