[After SIT] รายงานทะเบียนประวัติ เพิ่มค้นหาจาก ระยะเวลาดำรงตำแหน่ง (บริหาร) ปัจจุบัน และแสดงคอลัมน์เพิ่ม issue #1326

This commit is contained in:
Bright 2025-05-26 17:45:54 +07:00
parent 3746888ef8
commit eaafb73479
3 changed files with 66 additions and 1 deletions

View file

@ -151,7 +151,7 @@ export class ReportController extends Controller {
} else if (tenureType != "" && tenureType == "level") {
tenureTypeCondition = "registryOfficer.levelYears BETWEEN :tenureMin AND :tenureMax";
} else if (tenureType != "" && tenureType == "posExecutive") {
tenureTypeCondition = "registryOfficer.levelYears BETWEEN :tenureMin AND :tenureMax";
tenureTypeCondition = "registryOfficer.posExecutiveYears BETWEEN :tenureMin AND :tenureMax";
}
const [lists, total] = await AppDataSource.getRepository(viewRegistryOfficer)