This commit is contained in:
AdisakKanthawilang 2024-03-11 11:22:10 +07:00
parent d825373542
commit b7c6ef1c04

View file

@ -124,7 +124,7 @@ export class OrgChild1Controller {
}, },
}); });
if (chkCode != null) { if (chkCode != null) {
throw new HttpError(HttpStatusCode.INTERNAL_SERVER_ERROR, "รหัสหน่วยงานนี้มีอยู่ในระบบแล้ว"); throw new HttpError(HttpStatusCode.INTERNAL_SERVER_ERROR, "รหัสส่วนราชการนี้มีอยู่ในระบบแล้ว");
} }
const order: any = await this.child1Repository.findOne({ const order: any = await this.child1Repository.findOne({
where: { where: {