no message

This commit is contained in:
Bright 2025-03-04 15:49:24 +07:00
parent ac4d893f96
commit 3b9002f505
3 changed files with 227 additions and 8 deletions

View file

@ -256,7 +256,7 @@ export class ReportController extends Controller {
if (tenureType != "" && tenureType == "position") {
tenureTypeCondition = "registryOfficer.Years BETWEEN :tenureMin AND :tenureMax";
} else if (tenureType != "" && tenureType == "level") {
tenureTypeCondition = "registryOfficer.Years BETWEEN :tenureMin AND :tenureMax"; //xxxxxxxxxxxx
tenureTypeCondition = "registryOfficer.levelYears BETWEEN :tenureMin AND :tenureMax"; //xxxxxxxxxxxx
}
const [lists, total] = await AppDataSource.getRepository(viewRegistryOfficer)
@ -382,12 +382,9 @@ export class ReportController extends Controller {
Days: x.posExecutiveDays,
},
posLevelDate: {
// Years: x.levelYears,
// Months: x.levelMonths,
// Days: x.levelDays,
Years: 0,
Months: 0,
Days: 0,
Years: x.levelYears,
Months: x.levelMonths,
Days: x.levelDays,
},
}));
return new HttpSuccess({