role เมนู ลูกจ้างชั่วคราว
This commit is contained in:
parent
6f053d2c70
commit
877a70ef3d
22 changed files with 109 additions and 63 deletions
|
|
@ -83,7 +83,8 @@ export class ProfileInsigniaEmployeeTempController extends Controller {
|
|||
},
|
||||
],
|
||||
})
|
||||
public async getInsignia(@Path() profileEmployeeId: string) {
|
||||
public async getInsignia(@Path() profileEmployeeId: string, @Request() req: RequestWithUser) {
|
||||
await new permission().PermissionList(req, "SYS_REGISTRY_TEMP");
|
||||
const record = await this.insigniaRepo.find({
|
||||
relations: {
|
||||
insignia: {
|
||||
|
|
@ -150,7 +151,8 @@ export class ProfileInsigniaEmployeeTempController extends Controller {
|
|||
},
|
||||
],
|
||||
})
|
||||
public async getInsigniaHistory(@Path() InsigniaId: string) {
|
||||
public async getInsigniaHistory(@Path() InsigniaId: string, @Request() req: RequestWithUser) {
|
||||
await new permission().PermissionList(req, "SYS_REGISTRY_TEMP");
|
||||
const record = await this.insigniaHistoryRepo.find({
|
||||
relations: {
|
||||
insignia: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue