Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop

This commit is contained in:
Adisak 2025-12-18 18:16:45 +07:00
commit 6d31b84a2c
3 changed files with 30 additions and 5 deletions

View file

@ -57,6 +57,23 @@ export class OrganizationDotnetController extends Controller {
private insigniaRepo = AppDataSource.getRepository(ProfileInsignia);
private employeePosDictRepository = AppDataSource.getRepository(EmployeePosDict);
/**
* service call
*
* @summary API
*
*/
@Post("check-citizen")
public async CheckCitizen(
@Body()
body: {
citizenId: string;
},
) {
let citizen = Extension.CheckCitizen(body.citizenId)
return new HttpSuccess(citizen);
}
/**
* 1. API Search Profile
*