eliminate gestione firma
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:
@@ -288,18 +288,20 @@ public class ReportProcessor {
|
||||
}
|
||||
hm_parameters.put("api_webservices", url);
|
||||
|
||||
String firmaUtente;
|
||||
String sql =
|
||||
Query.format(
|
||||
"SELECT id_attach FROM srl_user_attached WHERE user_name = %s", userSession.getUsername());
|
||||
|
||||
String idAttach = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql);
|
||||
|
||||
if ( !UtilityString.isNullOrEmpty(idAttach) ) {
|
||||
firmaUtente = String.format("http://%s/ems-api/downloadStbFileAttachment/%s/firma_utente.png?profileDb=%s",
|
||||
url, idAttach, multiDBTransactionManager.getPrimaryDatasource().getProfile());
|
||||
hm_parameters.put("firma_utente", firmaUtente);
|
||||
}
|
||||
// if ( userSession.getUsername() != null ) {
|
||||
// String firmaUtente;
|
||||
// String sql =
|
||||
// Query.format(
|
||||
// "SELECT id_attach FROM srl_user_attached WHERE user_name = %s", userSession.getUsername());
|
||||
//
|
||||
// String idAttach = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql);
|
||||
//
|
||||
// if (!UtilityString.isNullOrEmpty(idAttach)) {
|
||||
// firmaUtente = String.format("http://%s/ems-api/downloadStbFileAttachment/%s/firma_utente.png?profileDb=%s",
|
||||
// url, idAttach, multiDBTransactionManager.getPrimaryDatasource().getProfile());
|
||||
// hm_parameters.put("firma_utente", firmaUtente);
|
||||
// }
|
||||
// }
|
||||
|
||||
completeParameter(jasperDTO, hm_parameters);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user