cqp hace 23 horas
padre
commit
e895545e75
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Service/ReportFormsService.php

+ 1 - 0
app/Service/ReportFormsService.php

@@ -737,6 +737,7 @@ class ReportFormsService extends Service
         $scrapp = ScrappCount::where('del_time',0)
             ->whereIn('order_product_id',$order_product_id)
             ->where('technology_name',$data['technology_name'])
+            ->where('scrapp_id','>',0)
             ->select('order_product_id','scrapp_num as bad_goods_num','scrapp_id','team_id','finished_id')
             ->get()->toArray();
         foreach ($scrapp as $value){