Finish Hotfix-1
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:
@@ -120,10 +120,12 @@ public class ExchangeDestinatariImportService {
|
|||||||
|
|
||||||
|
|
||||||
private void singleUpdateImported(Connection connection, GtbAnag importedData, boolean useTempTable) throws Exception {
|
private void singleUpdateImported(Connection connection, GtbAnag importedData, boolean useTempTable) throws Exception {
|
||||||
final HashMap<String, Object> importedKey = new HashMap<String, Object>() {{
|
final List<HashMap<String, Object>> importedRowKeys = importedData.getVtbDest().stream()
|
||||||
put("cod_anag", importedData.getCodAnag());
|
.map(x -> new HashMap<String, Object>() {{
|
||||||
}};
|
put("cod_anag", x.getCodAnag());
|
||||||
|
put("cod_vdes", x.getCodVdes());
|
||||||
|
}}).collect(Collectors.toList());
|
||||||
|
|
||||||
exchangeImportDataManagerService.updateImportedStatus(connection, "vtb_dest", importedKey, useTempTable);
|
exchangeImportDataManagerService.updateImportedStatus(connection, "vtb_dest", importedRowKeys, useTempTable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user