fix word
This commit is contained in:
parent
082ce90dcd
commit
4da17192f3
2 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ export class OrgChild1Controller {
|
|||
},
|
||||
});
|
||||
if (chkCode != null) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "รหัสส่วนราชการนี้มีอยู่ในระบบแล้ว");
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "รหัสหน่วยงานนี้มีอยู่ในระบบแล้ว");
|
||||
}
|
||||
child1.lastUpdateUserId = request.user.sub;
|
||||
child1.lastUpdateFullName = request.user.name;
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ export class OrgRootController extends Controller {
|
|||
where: { orgRevisionId: requestBody.orgRevisionId, orgRootCode: requestBody.orgRootCode },
|
||||
});
|
||||
if (chkCode?.id != id && chkCode != null) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "รหัสส่วนราชการนี้มีอยู่ในระบบแล้ว");
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "รหัสหน่วยงานนี้มีอยู่ในระบบแล้ว");
|
||||
}
|
||||
|
||||
const orgRoot = await this.orgRootRepository.findOne({ where: { id } });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue