recheck เมนู ลูกจ้างประจำ กทม และเปลี่ยนจาก list เป็น get
This commit is contained in:
parent
2eb79a14b5
commit
057bda967f
21 changed files with 38 additions and 38 deletions
|
|
@ -84,7 +84,7 @@ export class ProfileInsigniaEmployeeController extends Controller {
|
|||
],
|
||||
})
|
||||
public async getInsignia(@Path() profileEmployeeId: string, @Request() req: RequestWithUser) {
|
||||
await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_EMP", profileEmployeeId);
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileEmployeeId);
|
||||
const record = await this.insigniaRepo.find({
|
||||
relations: {
|
||||
insignia: {
|
||||
|
|
@ -154,7 +154,7 @@ export class ProfileInsigniaEmployeeController extends Controller {
|
|||
public async getInsigniaHistory(@Path() InsigniaId: string, @Request() req: RequestWithUser) {
|
||||
const _record = await this.insigniaRepo.findOneBy({ id: InsigniaId });
|
||||
if (_record) {
|
||||
await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_EMP", _record.profileEmployeeId);
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", _record.profileEmployeeId);
|
||||
}
|
||||
const record = await this.insigniaHistoryRepo.find({
|
||||
relations: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue