เพิ่ม subrank
This commit is contained in:
parent
8717494690
commit
5301978a7f
11 changed files with 111 additions and 19 deletions
|
|
@ -68,6 +68,7 @@ export class OrgChild1Controller {
|
|||
orgChild1ShortName: orgChild1.orgChild1ShortName,
|
||||
orgChild1Code: orgChild1.orgChild1Code,
|
||||
orgChild1Rank: orgChild1.orgChild1Rank,
|
||||
orgChild1RankSub: orgChild1.orgChild1RankSub,
|
||||
orgChild1Order: orgChild1.orgChild1Order,
|
||||
orgChild1PhoneEx: orgChild1.orgChild1PhoneEx,
|
||||
orgChild1PhoneIn: orgChild1.orgChild1PhoneIn,
|
||||
|
|
@ -124,7 +125,10 @@ export class OrgChild1Controller {
|
|||
},
|
||||
});
|
||||
if (chkCode != null) {
|
||||
throw new HttpError(HttpStatusCode.INTERNAL_SERVER_ERROR, "รหัสส่วนราชการนี้มีอยู่ในระบบแล้ว");
|
||||
throw new HttpError(
|
||||
HttpStatusCode.INTERNAL_SERVER_ERROR,
|
||||
"รหัสส่วนราชการนี้มีอยู่ในระบบแล้ว",
|
||||
);
|
||||
}
|
||||
const order: any = await this.child1Repository.findOne({
|
||||
where: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue