Fixes Bug #0009235
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@71685 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6484b292b7
commit
a4295e3590
|
@ -8,7 +8,7 @@ import com.rjconsultores.ventaboletos.entidad.Ruta;
|
|||
public interface CalcularPeajeDAO {
|
||||
public List<Object> buscarCasetasPeajeWithinTramo(Ruta ruta);
|
||||
|
||||
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao, boolean usaICMS);
|
||||
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao, boolean usaICMS) throws Exception;
|
||||
|
||||
public List<Ruta> buscarRutaWithCasetaPeajeFromOrgao(OrgaoConcedente oc);
|
||||
}
|
||||
|
|
|
@ -8,5 +8,5 @@ import com.rjconsultores.ventaboletos.entidad.Ruta;
|
|||
public interface CalcularPeajeService {
|
||||
public List<Object> buscarCasetasPeajeWithinTramo(Ruta ruta);
|
||||
public List<Ruta> buscarRutaWithCasetaPeajeFromOrgao(OrgaoConcedente oc);
|
||||
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao, boolean usaICMS);
|
||||
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao, boolean usaICMS) throws Exception;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public class CalcularPeajeServiceImpl implements CalcularPeajeService{
|
|||
|
||||
@Override
|
||||
@Transactional(rollbackFor = BusinessException.class)
|
||||
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao, boolean usaICMS){
|
||||
public int[] gerarSQLInserirPeajes(List<Ruta> lsRuta, OrgaoConcedente orgao, boolean usaICMS) throws Exception {
|
||||
return calcularPeajeDAO.gerarSQLInserirPeajes(lsRuta, orgao, usaICMS);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue