update field isHigh & order educ.level

This commit is contained in:
Bright 2025-03-11 10:36:59 +07:00
parent cfb5038357
commit 848b574713
6 changed files with 285 additions and 3 deletions

View file

@ -67,10 +67,12 @@ import { ViewColumn, ViewEntity } from "typeorm";
eds.educationLevel,
eds.isEducation,
eds.isHigh,
eds.profileId
eds.profileId,
eds.level
FROM profileEducation eds
) AS eds
GROUP BY eds.profileId
ORDER BY eds.level DESC
),
EducationLevels AS (
SELECT