fix
This commit is contained in:
parent
94134355fa
commit
1623febe48
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ export class ReportController extends Controller {
|
|||
TIMESTAMPDIFF(YEAR, current_holder.birthDate, CURDATE()) >= :minAge
|
||||
AND TIMESTAMPDIFF(YEAR, current_holder.birthDate, CURDATE()) <= :maxAge
|
||||
`, { minAge, maxAge })
|
||||
.orderBy("posType.posTypeaName","ASC")
|
||||
.orderBy("posType.posTypeName","ASC")
|
||||
.getMany();
|
||||
if(!rawdataProfile){
|
||||
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลบุคคลนี้ในระบบ");
|
||||
|
|
@ -189,6 +189,7 @@ export class ReportController extends Controller {
|
|||
TIMESTAMPDIFF(YEAR, current_holder.birthDate, CURDATE()) >= :minAge
|
||||
AND TIMESTAMPDIFF(YEAR, current_holder.birthDate, CURDATE()) <= :maxAge
|
||||
`, { minAge, maxAge })
|
||||
.orderBy("posType.posTypeName","ASC")
|
||||
.getMany();
|
||||
if(!rawdataProfile){
|
||||
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลบุคคลนี้ในระบบ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue