Fix esportazione documenti intesa
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-04-11 17:48:38 +02:00
parent b9bae53f7a
commit b0524e4a2e
3 changed files with 25 additions and 13 deletions

View File

@@ -559,7 +559,7 @@ public class ReportProcessor {
" AND ((:codAnag is null and cod_anag is null) OR (:codAnag is not null and ISNULL(cod_anag,:codAnag) = :codAnag)) " +
" AND ((:codMdep is null and cod_mdep is null) OR (:codMdep is not null and ISNULL(cod_mdep,:codMdep) = :codMdep)) " +
" AND ((:codDtip is null and cod_dtip is null) OR (:codDtip is not null and ISNULL(cod_dtip,:codDtip) = :codDtip)) " +
"order by cod_anag desc, cod_mdep desc";
"order by cod_anag desc, cod_mdep desc, cod_dtip desc";
sql = sql
.replace(":codAnag", UtilityDB.valueToString(reportTypeDTO.getCodAnag()))
.replace(":codDtip", UtilityDB.valueToString(reportTypeDTO.getCodDtip()))