Merge branch 'master' into develop
This commit is contained in:
@@ -483,7 +483,7 @@ public class UtilityDB {
|
||||
public static <T> List<T> executeSimpleQueryOnlyFirstColumn(Connection conn, String querySql) throws SQLException {
|
||||
List<T> object = new ArrayList<>();
|
||||
List<HashMap<String, Object>> queryResults = executeSimpleQuery(conn, querySql);
|
||||
if (queryResults != null && queryResults.size() > 0) {
|
||||
if (queryResults != null && !queryResults.isEmpty()) {
|
||||
object = new ArrayList<T>();
|
||||
for (HashMap<String, Object> result : queryResults) {
|
||||
T value = (T) result.get(result.keySet().toArray()[0]);
|
||||
|
||||
@@ -67,7 +67,6 @@ public class ExchangeDocumentImportService {
|
||||
UtilityLocalDate.getNow(),
|
||||
false, useTempTable);
|
||||
|
||||
exchangeUpdatedTestateData.forEach(x -> x.setUpdProgMaga(false));
|
||||
|
||||
|
||||
final List<DtbDocr> exchangeImportedRigheData = importRigheDocumentiLavorazione(
|
||||
@@ -88,6 +87,7 @@ public class ExchangeDocumentImportService {
|
||||
List<EquatableEntityInterface> allRigheData = exchangeImportDataManagerService
|
||||
.runSync(DtbDocr.class, exchangeImportedRigheData, exchangeUpdatedRigheData);
|
||||
|
||||
allTestateData.forEach(x -> ((DtbDoct)x).setUpdProgMaga(false));
|
||||
|
||||
allTestateData.stream()
|
||||
.map(x -> (DtbDoct) x)
|
||||
|
||||
Reference in New Issue
Block a user