recheck เมนู ลูกจ้างประจำ กทม และเปลี่ยนจาก list เป็น get
This commit is contained in:
parent
2eb79a14b5
commit
057bda967f
21 changed files with 38 additions and 38 deletions
|
|
@ -47,7 +47,7 @@ export class ProfileDevelopmentEmployeeController extends Controller {
|
|||
|
||||
@Get("{profileId}")
|
||||
public async getDevelopment(@Path() profileId: string, @Request() req: RequestWithUser) {
|
||||
await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_EMP", profileId);
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileId);
|
||||
const lists = await this.developmentRepository.find({
|
||||
where: { profileEmployeeId: profileId },
|
||||
});
|
||||
|
|
@ -58,7 +58,7 @@ export class ProfileDevelopmentEmployeeController extends Controller {
|
|||
public async developmentHistory(@Path() developmentId: string, @Request() req: RequestWithUser) {
|
||||
const _record = await this.developmentRepository.findOneBy({ id: developmentId });
|
||||
if (_record) {
|
||||
await new permission().PermissionOrgUserList(
|
||||
await new permission().PermissionOrgUserGet(
|
||||
req,
|
||||
"SYS_REGISTRY_EMP",
|
||||
_record.profileEmployeeId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue