Quellcode durchsuchen

完成板数优化

qiuenguang vor 11 Monaten
Ursprung
Commit
6005e0e6d0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      application/api/controller/Facility.php

+ 1 - 1
application/api/controller/Facility.php

@@ -486,7 +486,7 @@ class Facility extends Api
                 $processList['completed'] = \db('设备_产量计酬')
                     ->where('sczl_gdbh',$workOrder)
                     ->where('sczl_gxh',$v)
-                    ->count();
+                    ->count('DISTINCT sczl_num');
                 array_push($data,$processList);
             }
         }