Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
912a8237e6
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ export class EmployeePositionController extends Controller {
|
||||||
@Get("position/{id}")
|
@Get("position/{id}")
|
||||||
async detailPosition(@Path() id: string) {
|
async detailPosition(@Path() id: string) {
|
||||||
const posMaster = await this.employeePosMasterRepository.findOne({
|
const posMaster = await this.employeePosMasterRepository.findOne({
|
||||||
where: { id },
|
where: { id:id },
|
||||||
});
|
});
|
||||||
if (!posMaster) {
|
if (!posMaster) {
|
||||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล");
|
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue