feat: Implement orphan record deletion logic based on edit mode

- Updated the DataService to conditionally delete orphan records only when in EDIT mode, controlled by the deleteOrphans flag.
- Enhanced the SelectedItemsDetailInputComponent to determine the mode (EDIT or CREATE) based on the presence of existing database IDs, ensuring that orphan records are only deleted when necessary.
- Improved data integrity by preventing unintended deletions during the CREATE process.
This commit is contained in:
DDD1542
2026-02-09 15:50:53 +09:00
parent d7f900d8ae
commit 7118a723f3
4 changed files with 30 additions and 7158 deletions
File diff suppressed because it is too large Load Diff