|
|
@@ -235,7 +235,7 @@ sql;
|
|
|
if (empty($info)) return $res;
|
|
|
foreach ($info as $v){
|
|
|
$res[] = [$v->measuring_machine_id,(int)$v->count];
|
|
|
- $no_weight += (int)($v->total_count - $v->un_weigh_count);
|
|
|
+ $no_weight += (int)($v->total - $v->count);
|
|
|
}
|
|
|
array_push($res, ['未称重',$no_weight]);
|
|
|
}else{
|