add update time

This commit is contained in:
kittapath 2024-09-01 22:44:23 +07:00
parent ad4efc2b47
commit a2292d6048
57 changed files with 257 additions and 98 deletions

View file

@ -112,7 +112,7 @@ export class ProfileChildrenController extends Controller {
const history = new ProfileChildrenHistory();
Object.assign(record, body);
Object.assign(history, { ...body, id: undefined });
Object.assign(history, { ...record, id: undefined });
record.childrenCitizenId = Extension.CheckCitizen(String(record.childrenCitizenId));
history.profileChildrenId = record.id;