From e52d7cb7e87aebfdd5f6583453f355160213c07c Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Tue, 20 Dec 2022 07:17:46 +0100 Subject: [PATCH] Version 9.8Beta. Borrados UserCase y uso de SilexCallBack --- .idea/workspace.xml | 59 +- app/build.gradle | 7 +- app/src/main/AndroidManifest.xml | 1 + .../verdnatura/domain/GetAjustesUserCase.kt | 69 --- .../domain/GetBuscarItemAllUserCase.kt | 26 - .../domain/GetBuscarItemUserCase.kt | 20 - .../es/verdnatura/domain/GetClaimUserCase.kt | 24 - .../verdnatura/domain/GetDayOfSaleUSerCase.kt | 36 -- .../verdnatura/domain/GetInventaryUserCase.kt | 63 --- .../verdnatura/domain/GetItemCardUserCase.kt | 230 -------- .../es/verdnatura/domain/GetLoginUserCase.kt | 105 ---- .../domain/GetPaletizadoresUserCase.kt | 329 ----------- .../domain/GetPreControladorUserCase.kt | 49 -- .../verdnatura/domain/GetPreSacadorUseCase.kt | 138 ----- .../verdnatura/domain/GetQualityUserCase.kt | 49 -- .../domain/GetSacadorControladorUserCase.kt | 522 ------------------ .../domain/GetShelvingParkingUserCase.kt | 30 - .../verdnatura/domain/GetUbicadorUserCase.kt | 284 ---------- .../domain/GetVehicleControlTimeUserCase.kt | 112 ---- .../domain/GetWokerMistakeUSerCase.kt | 70 --- .../java/es/verdnatura/domain/SalixService.kt | 1 - .../es/verdnatura/domain/VerdnaturaService.kt | 100 +--- .../domain/itemShelvingLogUSerCase.kt | 65 --- .../presentation/testing/testPrint.kt | 6 + .../feature/collection/adapter/SaleAdapter.kt | 6 + .../inventario/fragment/InventaryViewModel.kt | 135 ++--- .../feature/login/fragment/LoginFragment.kt | 42 +- .../feature/login/fragment/LoginViewModel.kt | 284 +++------- .../PackagingViewModel/SupplierViewModel.kt | 30 +- .../fragment/CmrExpeditionPalletFragment.kt | 2 - .../fragment/CmrExpeditionPalletViewModel.kt | 69 +-- .../ExpeditionPalletDetailViewModel.kt | 116 ++-- .../fragment/ExpeditionPalletViewModel.kt | 156 ++++-- .../fragment/ExpeditionScanSorterFragment.kt | 2 +- .../fragment/ExpeditionScanSorterViewModel.kt | 11 +- .../fragment/ExpeditionScanViewModel.kt | 65 +-- .../fragment/ExpeditionStateViewModel.kt | 70 +-- .../fragment/ExpeditionTruckListViewModel.kt | 73 ++- .../fragment/PalletScanViewModel.kt | 5 +- .../parking/fragment/ParkingViewModel.kt | 27 +- .../parkingSale/fragment/ParkingViewModel.kt | 34 +- .../pasillero/fragment/PasilleroViewModel.kt | 2 +- .../precontrol/PreControladorViewModel.kt | 70 +-- .../presacador/fragment/EndSacadorFragment.kt | 5 - .../fragment/PreSacadorViewModel.kt | 522 ++++++------------ .../view/feature/qr/QrFragmentViewModel.kt | 37 +- .../fragment/ReposicionViewModel.kt | 112 ++-- .../sacador/fragment/SacadorViewModel.kt | 160 +++--- .../fragment/ShelvingParkingFragment.kt | 35 +- .../fragment/ShelvingParkingViewModel.kt | 53 +- .../fragment/TransferenciaViewModel.kt | 7 - .../ubicador/fragment/UbicadorFragment.kt | 5 +- .../ubicador/fragment/UbicadorViewModel.kt | 240 +++----- 53 files changed, 958 insertions(+), 3812 deletions(-) delete mode 100644 app/src/main/java/es/verdnatura/domain/GetAjustesUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetBuscarItemAllUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetBuscarItemUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetClaimUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetDayOfSaleUSerCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetInventaryUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetItemCardUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetLoginUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetPaletizadoresUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetPreControladorUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetPreSacadorUseCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetQualityUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetSacadorControladorUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetShelvingParkingUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetUbicadorUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetVehicleControlTimeUserCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/GetWokerMistakeUSerCase.kt delete mode 100644 app/src/main/java/es/verdnatura/domain/itemShelvingLogUSerCase.kt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5911768d..78e8d057 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -44,8 +44,8 @@ - @@ -83,9 +83,60 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +