Merge branch 'adiDev' into develop
This commit is contained in:
commit
137748408f
1 changed files with 3 additions and 3 deletions
|
|
@ -4776,9 +4776,9 @@ export class ProfileEmployeeController extends Controller {
|
||||||
*/
|
*/
|
||||||
@Get("information/{profileEmployeeId}")
|
@Get("information/{profileEmployeeId}")
|
||||||
async getInformationById(@Path() profileEmployeeId: string, @Request() req: RequestWithUser) {
|
async getInformationById(@Path() profileEmployeeId: string, @Request() req: RequestWithUser) {
|
||||||
let _workflow = await new permission().Workflow(req, profileEmployeeId, "SYS_REGISTRY_EMP");
|
// let _workflow = await new permission().Workflow(req, profileEmployeeId, "SYS_REGISTRY_EMP");
|
||||||
if (_workflow == false)
|
// if (_workflow == false)
|
||||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileEmployeeId);
|
// await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileEmployeeId);
|
||||||
const profileInformation = await this.profileRepo.findOne({
|
const profileInformation = await this.profileRepo.findOne({
|
||||||
where: { id: profileEmployeeId },
|
where: { id: profileEmployeeId },
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue