recheck เมนู ข้าราชการ กทม. สามัญ (list to get)
This commit is contained in:
parent
7430c3c86f
commit
271e6964b3
17 changed files with 24 additions and 24 deletions
|
|
@ -111,7 +111,7 @@ export class ProfileDutyController extends Controller {
|
|||
public async dutyHistory(@Path() dutyId: string, @Request() req: RequestWithUser) {
|
||||
const _record = await this.dutyRepository.findOneBy({ id: dutyId });
|
||||
if (_record) {
|
||||
await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_OFFICER", _record.profileId);
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", _record.profileId);
|
||||
}
|
||||
const record = await this.dutyHistoryRepository.find({
|
||||
where: { profileDutyId: dutyId },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue