no message
This commit is contained in:
parent
3a32b07272
commit
be7f719fd5
1 changed files with 1 additions and 0 deletions
|
|
@ -2188,6 +2188,7 @@ export class EmployeePositionController extends Controller {
|
||||||
) {
|
) {
|
||||||
const posMaster = await this.employeePosMasterRepository.findOne({
|
const posMaster = await this.employeePosMasterRepository.findOne({
|
||||||
where: { id: body.posmasterId },
|
where: { id: body.posmasterId },
|
||||||
|
relations: ["orgRoot"],
|
||||||
});
|
});
|
||||||
if (posMaster == null) throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตำแหน่งนี้");
|
if (posMaster == null) throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตำแหน่งนี้");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue