Finish Hotfix-95
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:
@@ -622,8 +622,8 @@ public class DocumentService {
|
|||||||
" CASE WHEN sum(qta_doc) <> 0 THEN Sum(qta_doc * valore_netto) / sum(qta_doc) ELSE 0 END as val_unt_iva , " +
|
" CASE WHEN sum(qta_doc) <> 0 THEN Sum(qta_doc * valore_netto) / sum(qta_doc) ELSE 0 END as val_unt_iva , " +
|
||||||
" cod_aliq, " +
|
" cod_aliq, " +
|
||||||
" cod_promo, " +
|
" cod_promo, " +
|
||||||
" qta_cnf, " +
|
" qta_cnf, " +
|
||||||
" descrizione, " +
|
" Max(descrizione) as descrizione, " +
|
||||||
" perc_aliq, " +
|
" perc_aliq, " +
|
||||||
" descrizione_estesa, " +
|
" descrizione_estesa, " +
|
||||||
" cod_kit, " +
|
" cod_kit, " +
|
||||||
@@ -639,13 +639,11 @@ public class DocumentService {
|
|||||||
" cod_aliq, " +
|
" cod_aliq, " +
|
||||||
" cod_promo, " +
|
" cod_promo, " +
|
||||||
" qta_cnf, " +
|
" qta_cnf, " +
|
||||||
" descrizione, " +
|
|
||||||
" perc_aliq, " +
|
" perc_aliq, " +
|
||||||
" descrizione_estesa, " +
|
" descrizione_estesa, " +
|
||||||
" cod_kit ";
|
" cod_kit ";
|
||||||
|
|
||||||
ResultSetMapper rsMapperRighe = new ResultSetMapper();
|
List<DtbDocr> r = new ResultSetMapper().mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), query, DtbDocr.class, OperationType.INSERT);
|
||||||
List<DtbDocr> r = rsMapperRighe.mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), query, DtbDocr.class, OperationType.INSERT);
|
|
||||||
if (r != null && r.size() > 0) {
|
if (r != null && r.size() > 0) {
|
||||||
righe.addAll(r);
|
righe.addAll(r);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user