Modifica export documenti consegnati
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
@@ -64,6 +65,7 @@ public class WMSResiClientiService {
|
||||
}
|
||||
|
||||
public List<ResoClienteWithBarcodeDTO> retrieveUltimeConsegneWithBarcodes(String codMdep, String codAnag, String codVdes, List<ArticoloPartitaCommessaDTO> arts, Integer limitConsegnePerCli, Integer limitDays) throws Exception {
|
||||
List<ResoClienteWithBarcodeDTO> scarichi = new ArrayList<>();
|
||||
|
||||
String sql = "SELECT consegne.*, " +
|
||||
" rag_soc," +
|
||||
@@ -82,8 +84,7 @@ public class WMSResiClientiService {
|
||||
" counter_consegna ";
|
||||
|
||||
final List<DtbDoctKey> result = UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, DtbDoctKey.class);
|
||||
|
||||
final List<ResoClienteWithBarcodeDTO> scarichi = retrieveScarichiInDocuments(result, arts);
|
||||
if (result != null && !result.isEmpty()) scarichi = retrieveScarichiInDocuments(result, arts);
|
||||
|
||||
return scarichi;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user