This commit is contained in:
Bright 2025-02-24 12:16:47 +07:00
parent 64470b67a1
commit 6f6b6bba43
3 changed files with 428 additions and 0 deletions

View file

@ -89,6 +89,8 @@ import { ViewColumn, ViewEntity } from "typeorm";
p.gender,
p.relationship,
p.dateAppoint,
p.dateRetire,
p.dateRetireLaw,
p.birthdate,
ed.degree,
TIMESTAMPDIFF(YEAR, p.birthdate, CURDATE()) AS age

View file

@ -93,6 +93,8 @@ import { ViewColumn, ViewEntity } from "typeorm";
p.gender,
p.relationship,
p.dateAppoint,
p.dateRetire,
p.dateRetireLaw,
p.birthdate,
ed.degree,
TIMESTAMPDIFF(YEAR, p.birthdate, CURDATE()) AS age