recheck เมนู ลูกจ้างชั่วคราว (list to get)
This commit is contained in:
parent
271e6964b3
commit
51eaf6b976
19 changed files with 37 additions and 38 deletions
|
|
@ -65,7 +65,7 @@ export class ProfileChangeNameEmployeeTempController extends Controller {
|
|||
],
|
||||
})
|
||||
public async getChangeName(@Path() profileEmployeeId: string, @Request() req: RequestWithUser) {
|
||||
await new permission().PermissionList(req, "SYS_REGISTRY_TEMP");
|
||||
await new permission().PermissionGet(req, "SYS_REGISTRY_TEMP");
|
||||
const lists = await this.changeNameRepository.find({
|
||||
where: { profileEmployeeId: profileEmployeeId },
|
||||
select: ["id", "prefix", "firstName", "lastName", "status"],
|
||||
|
|
@ -100,7 +100,7 @@ export class ProfileChangeNameEmployeeTempController extends Controller {
|
|||
],
|
||||
})
|
||||
public async changeNameHistory(@Path() changeNameId: string, @Request() req: RequestWithUser) {
|
||||
await new permission().PermissionList(req, "SYS_REGISTRY_TEMP");
|
||||
await new permission().PermissionGet(req, "SYS_REGISTRY_TEMP");
|
||||
const record = await this.changeNameHistoryRepository.find({
|
||||
where: { profileChangeNameId: changeNameId },
|
||||
select: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue