git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@35325 d1611594-4594-4d17-8e1d-87c2c4800839
parent
2fe7e255a7
commit
d6f2829502
|
@ -11,6 +11,7 @@ import org.hibernate.type.DateType;
|
|||
import org.hibernate.type.IntegerType;
|
||||
import org.hibernate.type.LongType;
|
||||
import org.hibernate.type.StringType;
|
||||
import org.slf4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
@ -24,6 +25,7 @@ import com.rjconsultores.ventaboletos.vo.caja.UsuarioVO;
|
|||
|
||||
@Repository("cajaDAO")
|
||||
public class CajaHibernateDAO extends GenericHibernateDAO<Object, Long> implements CajaDAO {
|
||||
private static Logger log = org.slf4j.LoggerFactory.getLogger(CajaHibernateDAO.class);
|
||||
@Autowired
|
||||
private SQLBuilder sqlBuilder;
|
||||
|
||||
|
@ -137,6 +139,8 @@ public class CajaHibernateDAO extends GenericHibernateDAO<Object, Long> implemen
|
|||
}
|
||||
return usuarios;
|
||||
} catch (Exception e){
|
||||
log.error("",e);
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -653,7 +653,7 @@ public class SQLBuilderOracle implements SQLBuilder {
|
|||
sb.append(" c.CORRIDA_ID as \"corridaId\", ");
|
||||
sb.append(" (case when c.motivocancelacion_id is null then cfp.importe else cfp.importe * -1 end) as \"precioPagado\", ");
|
||||
sb.append(" c.FECHORVENTA as \"fecHorVenta\", ");
|
||||
sb.append(" c.IMPORTETAXAEMBARQUE as \"importeTaxaEmbarque\", ");
|
||||
sb.append(" (case when c.motivocancelacion_id is null then c.IMPORTETAXAEMBARQUE else c.IMPORTETAXAEMBARQUE * -1 end) as \"importeTaxaEmbarque\", ");
|
||||
sb.append(" ru.descruta as \"ruta\", ");
|
||||
sb.append(" ct.numautorizacion as \"numAutorizacion\", ");
|
||||
sb.append(" (case when cfp.formapago_id = 11 then cdp.numdocumento else null end) as \"ordenSevicio\", ");
|
||||
|
|
Loading…
Reference in New Issue