import data
This commit is contained in:
parent
bfce5ba1ce
commit
2686407133
6 changed files with 718 additions and 312 deletions
|
|
@ -33,7 +33,7 @@ export class ProfileEditEmployeeController extends Controller {
|
|||
private profileEditRepository = AppDataSource.getRepository(ProfileEdit);
|
||||
|
||||
@Get("user")
|
||||
public async detailProfileEditUser(
|
||||
public async detailProfileEditUserEmp(
|
||||
@Request() request: { user: Record<string, any> },
|
||||
@Query("page") page: number = 1,
|
||||
@Query("pageSize") pageSize: number = 10,
|
||||
|
|
@ -94,7 +94,7 @@ export class ProfileEditEmployeeController extends Controller {
|
|||
}
|
||||
|
||||
@Get("admin")
|
||||
public async detailProfileEditAdmin(
|
||||
public async detailProfileEditAdminEmp(
|
||||
@Request() request: { user: Record<string, any> },
|
||||
@Query("page") page: number = 1,
|
||||
@Query("pageSize") pageSize: number = 10,
|
||||
|
|
@ -159,7 +159,7 @@ export class ProfileEditEmployeeController extends Controller {
|
|||
}
|
||||
|
||||
@Get("{profileEmployeeId}")
|
||||
public async detailProfileEdit(@Path() profileEmployeeId: string) {
|
||||
public async detailProfileEditEmp(@Path() profileEmployeeId: string) {
|
||||
const getProfileEdit = await this.profileEditRepository.findOne({
|
||||
where: { profileEmployeeId: profileEmployeeId },
|
||||
relations: ["profileEmployee"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue