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