From d5cd65a4890cb95ceb607b461515451fae8d83eb Mon Sep 17 00:00:00 2001 From: hamzaelbakkouri <hamza.elbakkouri@marketingconfort.com> Date: Wed, 9 Apr 2025 14:17:01 +0100 Subject: [PATCH 1/2] MS-73/Fix sales seesion stats --- .../mydressin/services/impl/SaleSessionServiceImp.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/marketingconfort/mydressin/services/impl/SaleSessionServiceImp.java b/src/main/java/com/marketingconfort/mydressin/services/impl/SaleSessionServiceImp.java index 367cc1f..c5e5fa6 100644 --- a/src/main/java/com/marketingconfort/mydressin/services/impl/SaleSessionServiceImp.java +++ b/src/main/java/com/marketingconfort/mydressin/services/impl/SaleSessionServiceImp.java @@ -74,9 +74,8 @@ public class SaleSessionServiceImp implements SaleSessionService { public SaleSessionDTO getSaleSessionStatistics(SaleSession saleSession) { SaleSessionDTO saleSessionDTO = saleSessionMapper.toDTO(saleSession); - List<ItemCartStatus> excludedStatuses = Arrays.asList( - ItemCartStatus.DELETED_BO, - ItemCartStatus.DELETED_SITE + List<ItemCartStatus> excludedStatuses = List.of( + ItemCartStatus.DELETED_BO ); Long totalOrderProducts = saleSessionRepository.getTotalOrderProducts(saleSessionDTO.getId()); Integer totalClientsCount = saleSessionRepository.getTotalClientsCount(saleSessionDTO.getId()); -- GitLab From 6a9d3ac73ebc49696fa243c2ea4a097d7ed0ae43 Mon Sep 17 00:00:00 2001 From: hamzaelbakkouri <hamza.elbakkouri@marketingconfort.com> Date: Wed, 9 Apr 2025 14:17:31 +0100 Subject: [PATCH 2/2] MS-73/Fix sales seesion stats --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a321b68..239d23a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## [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] ### Added - MYD-739/Fix List with sale sessions stats -- GitLab