-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most important changes involve the relocation and redefinition of…
… macros, and the modification of function parameters and SQL command string construction in various files. 1. The `PKEY` macro definition has been moved from `BaseCommand.h`, `BaseQuery.h` to `ApplicationApi.h`. It is now defined as "Id" instead of its previous definition. This change affects all files and functions that use this macro. 2. The `ASYNC` macro has been defined in `ApplicationApi.h` and removed from `BaseQuery.h`. This change affects all files and functions that use this macro. 3. The `UpdateApplicationUser` and `DeleteApplicationUser` functions in `ApplicationUserServices.cpp` have been modified to use `Id` instead of `id` as a parameter. The `Update` function call within these functions now uses `EQ(Id)` instead of `id`. 4. The `Update` and `Delete` functions in `BaseCommand.h` have been modified to use `query` instead of `id` as a parameter. The SQL command string construction within these functions has been modified accordingly. 5. The `UpdateTodoItem` and `DeleteTodoItem` functions in `TodoItemService.cpp`, and the `UpdateTodoList` and `DeleteTodoList` functions in `TodoListService.cpp` have been modified in a similar way to `UpdateApplicationUser` and `DeleteApplicationUser`. 6. Various changes have been made in `BaseQuery.h` to replace usage of `id` with `query` in SQL command string construction. This change affects all functions that use SQL command strings constructed in this file. References to the code changes can be found in the respective files: `ApplicationApi.h`, `BaseCommand.h`, `BaseQuery.h`, `ApplicationUserServices.cpp`, `TodoItemService.cpp`, and `TodoListService.cpp`.
- Loading branch information
Showing
6 changed files
with
29 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters