Title: Implement Sorting of ShareRanges by startNumber
Description:
ShareRangeRepository: Added findAllOrderedByStartNumber() method to retrieve ShareRange entities sorted by their startNumber in ascending order.
ShareRangeService: Updated transferShares method to retrieve and process ShareRange instances ordered by startNumber. This ensures that share transfers respect the correct order of share ranges, preventing overlaps and inaccuracies.
ShareRangeController: Modified getAllShares() method to return share ranges sorted by startNumber. This improves consistency and usability by ensuring that share ranges are presented in a logical order.
Impact:
The system now processes and displays share ranges in a sorted manner based on their startNumber, improving the accuracy and user experience for managing and transferring shares.
Testing:
Verified that share ranges are correctly ordered in API responses and during share transfer operations.
Ensured no disruption in existing functionality for creating, retrieving, or deleting share ranges.
Title: Implement Sorting of ShareRanges by
startNumber
Description:
ShareRangeRepository
: AddedfindAllOrderedByStartNumber()
method to retrieveShareRange
entities sorted by theirstartNumber
in ascending order.ShareRangeService
: UpdatedtransferShares
method to retrieve and processShareRange
instances ordered bystartNumber
. This ensures that share transfers respect the correct order of share ranges, preventing overlaps and inaccuracies.ShareRangeController
: ModifiedgetAllShares()
method to return share ranges sorted bystartNumber
. This improves consistency and usability by ensuring that share ranges are presented in a logical order.Impact:
startNumber
, improving the accuracy and user experience for managing and transferring shares.Testing: