แก้ฟิลด์ orgCode
This commit is contained in:
parent
5a7e5cfa0e
commit
e82b4f6a85
5 changed files with 31 additions and 9 deletions
|
|
@ -41,7 +41,7 @@ export class OrgRootController extends Controller {
|
|||
try {
|
||||
const orgRoot = await this.orgRootRepository.findOne({ where: { id } });
|
||||
if (!orgRoot) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล");
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล โครงสร้างระดับ Root");
|
||||
}
|
||||
const getOrgRoot = {
|
||||
"orgRootId" : orgRoot.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue