diff --git a/CHANGELOG.md b/CHANGELOG.md index a321b688f7e07a36d22042a5fa9d4cbec62b5388..239d23a8f283841d9bb9839f615a314d76bdfab5 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 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 367cc1f7af889f9c27e380d82b7c111a92593260..c5e5fa66564ed586cfc52bbd21023af1c614ffe4 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());