แก้ controller temp

This commit is contained in:
kittapath 2024-08-13 13:39:52 +07:00
parent 6895e764ad
commit 576f6bcc0d
22 changed files with 22 additions and 22 deletions

View file

@ -30,7 +30,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/ability")
@Tags("ProfileAbilityEmployee")
@Security("bearerAuth")
export class ProfileAbilityEmployeeController extends Controller {
export class ProfileAbilityEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private profileAbilityRepo = AppDataSource.getRepository(ProfileAbility);
private profileAbilityHistoryRepo = AppDataSource.getRepository(ProfileAbilityHistory);

View file

@ -31,7 +31,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/address")
@Tags("ProfileAddressEmployee")
@Security("bearerAuth")
export class ProfileAddressEmployeeController extends Controller {
export class ProfileAddressEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private profileAddressHistoryRepo = AppDataSource.getRepository(ProfileAddressHistory);

View file

@ -32,7 +32,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/assessments")
@Tags("ProfileEmployeeAssessments")
@Security("bearerAuth")
export class ProfileAssessmentsEmployeeController extends Controller {
export class ProfileAssessmentsEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private profileAssessmentsRepository = AppDataSource.getRepository(ProfileAssessment);
private profileAssessmentsHistoryRepository =

View file

@ -10,7 +10,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/avatar")
@Tags("ProfileAvatar")
@Security("bearerAuth")
export class ProfileAvatarEmployeeController extends Controller {
export class ProfileAvatarEmployeeTempController extends Controller {
private profileRepository = AppDataSource.getRepository(ProfileEmployee);
private avatarRepository = AppDataSource.getRepository(ProfileAvatar);

View file

@ -28,7 +28,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/certificate")
@Tags("ProfileEmployeeCertificate")
@Security("bearerAuth")
export class ProfileCertificateEmployeeController extends Controller {
export class ProfileCertificateEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private certificateRepo = AppDataSource.getRepository(ProfileCertificate);
private certificateHistoryRepo = AppDataSource.getRepository(ProfileCertificateHistory);

View file

@ -30,7 +30,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/changeName")
@Tags("ProfileChangeNameEmployee")
@Security("bearerAuth")
export class ProfileChangeNameEmployeeController extends Controller {
export class ProfileChangeNameEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private changeNameRepository = AppDataSource.getRepository(ProfileChangeName);
private changeNameHistoryRepository = AppDataSource.getRepository(ProfileChangeNameHistory);

View file

@ -31,7 +31,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/family/children")
@Tags("ProfileChildren")
@Security("bearerAuth")
export class ProfileChildrenEmployeeController extends Controller {
export class ProfileChildrenEmployeeTempController extends Controller {
private profileRepository = AppDataSource.getRepository(ProfileEmployee);
private childrenRepository = AppDataSource.getRepository(ProfileChildren);
private childrenHistoryRepository = AppDataSource.getRepository(ProfileChildrenHistory);

View file

@ -28,7 +28,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/discipline")
@Tags("ProfileDisciplineEmployee")
@Security("bearerAuth")
export class ProfileDisciplineEmployeeController extends Controller {
export class ProfileDisciplineEmployeeTempController extends Controller {
private profileRepository = AppDataSource.getRepository(ProfileEmployee);
private disciplineRepository = AppDataSource.getRepository(ProfileDiscipline);
private disciplineHistoryRepository = AppDataSource.getRepository(ProfileDisciplineHistory);

View file

@ -24,7 +24,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/duty")
@Tags("ProfileEmployeeDuty")
@Security("bearerAuth")
export class ProfileDutyEmployeeController extends Controller {
export class ProfileDutyEmployeeTempController extends Controller {
private profileRepository = AppDataSource.getRepository(ProfileEmployee);
private dutyRepository = AppDataSource.getRepository(ProfileDuty);
private dutyHistoryRepository = AppDataSource.getRepository(ProfileDutyHistory);

View file

@ -34,7 +34,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/educations")
@Tags("ProfileEducationsEmployee")
@Security("bearerAuth")
export class ProfileEducationsEmployeeController extends Controller {
export class ProfileEducationsEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private profileEducationRepo = AppDataSource.getRepository(ProfileEducation);
private profileEducationHistoryRepo = AppDataSource.getRepository(ProfileEducationHistory);

View file

@ -74,7 +74,7 @@ import permission from "../interfaces/permission";
"เกิดข้อผิดพลาด ไม่สามารถแสดงรายการได้ กรุณาลองใหม่ในภายหลัง",
)
@SuccessResponse(HttpStatus.OK, "สำเร็จ")
export class ProfileEmployeeController extends Controller {
export class ProfileEmployeeTempController extends Controller {
private orgRevisionRepo = AppDataSource.getRepository(OrgRevision);
private posMasterRepo = AppDataSource.getRepository(EmployeePosMaster);
private profileRepo = AppDataSource.getRepository(ProfileEmployee);

View file

@ -29,7 +29,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/family/couple")
@Tags("ProfileEmployeeFamilyCouple")
@Security("bearerAuth")
export class ProfileFamilyCoupleEmployeeController extends Controller {
export class ProfileFamilyCoupleEmployeeTempController extends Controller {
private profileRepo = AppDataSource.getRepository(ProfileEmployee);
private ProfileFamilyCouple = AppDataSource.getRepository(ProfileFamilyCouple);
private ProfileFamilyCoupleHistory = AppDataSource.getRepository(ProfileFamilyCoupleHistory);

View file

@ -29,7 +29,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/family/father")
@Tags("ProfileEmployeeFamilyFather")
@Security("bearerAuth")
export class ProfileFamilyFatherEmployeeController extends Controller {
export class ProfileFamilyFatherEmployeeTempController extends Controller {
private profileRepo = AppDataSource.getRepository(ProfileEmployee);
private ProfileFamilyFather = AppDataSource.getRepository(ProfileFamilyFather);
private ProfileFamilyFatherHistory = AppDataSource.getRepository(ProfileFamilyFatherHistory);

View file

@ -29,7 +29,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/family/mother")
@Tags("ProfileEmployeeFamilyMother")
@Security("bearerAuth")
export class ProfileFamilyMotherEmployeeController extends Controller {
export class ProfileFamilyMotherEmployeeTempController extends Controller {
private profileRepo = AppDataSource.getRepository(ProfileEmployee);
private ProfileFamilyMother = AppDataSource.getRepository(ProfileFamilyMother);
private ProfileFamilyMotherHistory = AppDataSource.getRepository(ProfileFamilyMotherHistory);

View file

@ -30,7 +30,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/government")
@Tags("ProfileEmployeeGovernment")
@Security("bearerAuth")
export class ProfileGovernmentEmployeeController extends Controller {
export class ProfileGovernmentEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private govRepo = AppDataSource.getRepository(ProfileGovernment);
private positionRepo = AppDataSource.getRepository(EmployeePosition);

View file

@ -28,7 +28,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/honor")
@Tags("ProfileEmployeeHonor")
@Security("bearerAuth")
export class ProfileHonorEmployeeController extends Controller {
export class ProfileHonorEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private honorRepo = AppDataSource.getRepository(ProfileHonor);
private honorHistoryRepo = AppDataSource.getRepository(ProfileHonorHistory);

View file

@ -29,7 +29,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/insignia")
@Tags("ProfileEmployeeInsignia")
@Security("bearerAuth")
export class ProfileInsigniaEmployeeController extends Controller {
export class ProfileInsigniaEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private insigniaRepo = AppDataSource.getRepository(ProfileInsignia);
private insigniaHistoryRepo = AppDataSource.getRepository(ProfileInsigniaHistory);

View file

@ -29,7 +29,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/leave")
@Tags("ProfileLeave")
@Security("bearerAuth")
export class ProfileLeaveEmployeeController extends Controller {
export class ProfileLeaveEmployeeTempController extends Controller {
private profileRepo = AppDataSource.getRepository(ProfileEmployee);
private leaveRepo = AppDataSource.getRepository(ProfileLeave);
private leaveHistoryRepo = AppDataSource.getRepository(ProfileLeaveHistory);

View file

@ -28,7 +28,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/nopaid")
@Tags("ProfileNopaid")
@Security("bearerAuth")
export class ProfileNopaidEmployeeController extends Controller {
export class ProfileNopaidEmployeeTempController extends Controller {
private profileRepository = AppDataSource.getRepository(ProfileEmployee);
private nopaidRepository = AppDataSource.getRepository(ProfileNopaid);
private nopaidHistoryRepository = AppDataSource.getRepository(ProfileNopaidHistory);

View file

@ -28,7 +28,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/other")
@Tags("ProfileOther")
@Security("bearerAuth")
export class ProfileOtherEmployeeController extends Controller {
export class ProfileOtherEmployeeTempController extends Controller {
private profileRepository = AppDataSource.getRepository(ProfileEmployee);
private otherRepository = AppDataSource.getRepository(ProfileOther);
private otherHistoryRepository = AppDataSource.getRepository(ProfileOtherHistory);

View file

@ -29,7 +29,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/salary")
@Tags("ProfileSalary")
@Security("bearerAuth")
export class ProfileSalaryEmployeeController extends Controller {
export class ProfileSalaryEmployeeTempController extends Controller {
private profileRepo = AppDataSource.getRepository(ProfileEmployee);
private salaryRepo = AppDataSource.getRepository(ProfileSalary);
private salaryHistoryRepo = AppDataSource.getRepository(ProfileSalaryHistory);

View file

@ -28,7 +28,7 @@ import permission from "../interfaces/permission";
@Route("api/v1/org/profile-temp/training")
@Tags("ProfileEmployeeTraining")
@Security("bearerAuth")
export class ProfileTrainingEmployeeController extends Controller {
export class ProfileTrainingEmployeeTempController extends Controller {
private profileEmployeeRepo = AppDataSource.getRepository(ProfileEmployee);
private trainingRepo = AppDataSource.getRepository(ProfileTraining);
private trainingHistoryRepo = AppDataSource.getRepository(ProfileTrainingHistory);