Finish Hotfix-76

This commit is contained in:
2024-09-09 14:39:29 +02:00

View File

@@ -70,7 +70,7 @@ public class RossoGarganoSyncService {
logger.info("Importazione agenti: Timing " + ((new Date().getTime() - startDate.getTime()) / 1000) + " secs");
savePdc(rgExchange.getConnection());
logger.info("Importazione agenti: Timing " + ((new Date().getTime() - startDate.getTime()) / 1000) + " secs");
logger.info("Importazione Conti del piano dei conti: Timing " + ((new Date().getTime() - startDate.getTime()) / 1000) + " secs");
deleteCtbMovt(rgExchange.getConnection());
logger.info("Cancellazione movimenti contabili: Timing " + ((new Date().getTime() - startDate.getTime()) / 1000) + " secs");
@@ -762,7 +762,7 @@ public class RossoGarganoSyncService {
" AND cl_codice NOT LIKE '1%')\n" +
"\n" +
"\n" +
"SELECT FORMAT(CAST(conti_rg.max_id AS INT) +\n" +
"SELECT distinct FORMAT(CAST(conti_rg.max_id AS INT) +\n" +
" ROW_NUMBER() OVER (PARTITION BY conti_new.cod_cgrp, conti_new.cod_cmas ORDER BY conti_new.diacod),\n" +
" '000000') AS cod_ccon,\n" +
" conti_new.*\n" +