fabio 2019-03-11 17:56:30 +00:00
parent 8508f782ef
commit 7168eee984
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public class Totalbus {
sb.append(" e.empresa_id AS empresa, ");
sb.append(" pv.puntoventa_id AS puntoventaId, ");
sb.append(" sum(cdp.importe) AS valor, ");
sb.append(" case when cdp.formapago_id = 2 then 802 else 803 end as contacontabil, ");
sb.append(" tee.contacontabil AS contacontabil, ");
sb.append(" pv.numpuntoventa AS numpuntoventa, ");
sb.append(" ev.tipoeventoextra_id, ");
sb.append(" cdp.formapago_id as formapagoId ");
@ -146,7 +146,7 @@ public class Totalbus {
sb.append(" cd.feccorte, ");
sb.append(" e.empresa_id, ");
sb.append(" pv.puntoventa_id, ");
sb.append(" case when cdp.formapago_id = 2 then 802 else 803 end, ");
sb.append(" tee.contacontabil, ");
sb.append(" pv.numpuntoventa, ev.tipoeventoextra_id, ");
sb.append(" cdp.formapago_id ");