se agregó usuarios en procesador

This commit is contained in:
2025-11-19 12:13:29 -06:00
parent 2be7270c05
commit 75167caee1
3 changed files with 3 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+3 -1
View File
@@ -396,10 +396,12 @@ export class EquipoService {
.createQueryBuilder('e')
.innerJoin('e.procesador', 'p')
.innerJoin('e.tipoEquipo', 't')
.innerJoin('e.tipoUso', 'u')
.where('t.tipo_equipo IN (:...tipo_equipo)', { tipo_equipo })
.select(['p.procesador AS procesador'])
.select(['p.procesador AS procesador', 'u.tipo_uso AS uso'])
.addSelect('COUNT(*) AS total')
.groupBy('p.procesador')
.addGroupBy('u.tipo_uso')
.getRawMany();
return count;