ออกคำสั่ง
This commit is contained in:
parent
b9bc5b1298
commit
e0672ceca0
3 changed files with 656 additions and 18 deletions
|
|
@ -160,7 +160,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
},
|
||||
});
|
||||
ImgUrl = response_.data.downloadUrl;
|
||||
} catch { }
|
||||
} catch {}
|
||||
}
|
||||
const province = await this.provinceRepository.findOneBy({
|
||||
id: profile.registrationProvinceId,
|
||||
|
|
@ -328,7 +328,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
},
|
||||
});
|
||||
ImgUrl = response_.data.downloadUrl;
|
||||
} catch { }
|
||||
} catch {}
|
||||
}
|
||||
const profileOc = await this.profileRepo.findOne({
|
||||
relations: [
|
||||
|
|
@ -3151,7 +3151,6 @@ export class ProfileEmployeeController extends Controller {
|
|||
where: { id: id },
|
||||
});
|
||||
if (!profile) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูล");
|
||||
// await new permission().PermissionOrgUserUpdate(request, "SYS_REGISTRY_EMP", profile.id);//ไม่แน่ใจEMPปิดไว้ก่อน
|
||||
|
||||
profile.isLeave = requestBody.isLeave;
|
||||
profile.leaveReason = requestBody.leaveReason;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue