Skip to content
Extraits de code Groupes Projets
Valider 9882a82c rédigé par Mohamed Lemine BAILLAHI's avatar Mohamed Lemine BAILLAHI
Parcourir les fichiers

Merge branch 'feature/MS-73' into 'develop'

MS-73/Fix sales session stats

Closes MS-73

See merge request !117
parents b1c06a46 6a9d3ac7
Branches
1 requête de fusion!117MS-73/Fix sales session stats
Pipeline #14435 en échec avec les étapes
in 40 secondes
## [1.0.74-RELEASE]
### Added
- MYD-739/Fix List with sale sessions stats
- Add delete item functionality in back office and display sale session ID
### Changed
- Changes in existing functionality.
### Deprecated
- Soon-to-be removed features.
### Removed
- Features that have been removed.
### Fixed
- fix item count
- Restor a sale session fixed
### Security
- Any security improvements.
## [1.0.73-RELEASE] ## [1.0.73-RELEASE]
### Added ### Added
- MYD-739/Fix List with sale sessions stats - MYD-739/Fix List with sale sessions stats
......
...@@ -74,9 +74,8 @@ public class SaleSessionServiceImp implements SaleSessionService { ...@@ -74,9 +74,8 @@ public class SaleSessionServiceImp implements SaleSessionService {
public SaleSessionDTO getSaleSessionStatistics(SaleSession saleSession) { public SaleSessionDTO getSaleSessionStatistics(SaleSession saleSession) {
SaleSessionDTO saleSessionDTO = saleSessionMapper.toDTO(saleSession); SaleSessionDTO saleSessionDTO = saleSessionMapper.toDTO(saleSession);
List<ItemCartStatus> excludedStatuses = Arrays.asList( List<ItemCartStatus> excludedStatuses = List.of(
ItemCartStatus.DELETED_BO, ItemCartStatus.DELETED_BO
ItemCartStatus.DELETED_SITE
); );
Long totalOrderProducts = saleSessionRepository.getTotalOrderProducts(saleSessionDTO.getId()); Long totalOrderProducts = saleSessionRepository.getTotalOrderProducts(saleSessionDTO.getId());
Integer totalClientsCount = saleSessionRepository.getTotalClientsCount(saleSessionDTO.getId()); Integer totalClientsCount = saleSessionRepository.getTotalClientsCount(saleSessionDTO.getId());
......
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter