checkpoint
This commit is contained in:
parent
aa3e7c6489
commit
db2cad0a95
2 changed files with 0 additions and 4 deletions
|
|
@ -66,10 +66,8 @@ export class OrgChild2Controller extends Controller {
|
|||
if (orgChild1) {
|
||||
orgChild2.createdUserId = request.user.sub;
|
||||
orgChild2.createdFullName = request.user.name;
|
||||
orgChild2.createdAt = new Date();
|
||||
orgChild2.lastUpdateUserId = request.user.sub;
|
||||
orgChild2.lastUpdateFullName = request.user.name;
|
||||
orgChild2.lastUpdatedAt = new Date();
|
||||
await this.orgChild2Repository.save(orgChild2);
|
||||
} else {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลไอดีโครงสร้างระดับ1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue