git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@20779 d1611594-4594-4d17-8e1d-87c2c4800839
parent
da2434c3d6
commit
27ff85a7c5
|
@ -1,11 +1,11 @@
|
||||||
package com.rjconsultores.ventaboletos.dao;
|
package com.rjconsultores.ventaboletos.dao;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.service.SeguroService;
|
import com.rjconsultores.ventaboletos.service.SeguroKmService;
|
||||||
|
|
||||||
|
|
||||||
public interface SeguroKmDAO {
|
public interface SeguroKmDAO {
|
||||||
/**
|
/**
|
||||||
* See {@link SeguroService#atualizarSeguroPorKm(Integer, Integer, Integer)}
|
* See {@link SeguroKmService#atualizarSeguroPorKm(Integer, Integer, Integer)}
|
||||||
* @param rutaId
|
* @param rutaId
|
||||||
* @param orgaoId
|
* @param orgaoId
|
||||||
* @param usuarioId
|
* @param usuarioId
|
||||||
|
|
|
@ -2,7 +2,7 @@ package com.rjconsultores.ventaboletos.service;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
||||||
|
|
||||||
public interface SeguroService {
|
public interface SeguroKmService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Atualiza o seguro de acordo a kilometragem do trecho
|
* Atualiza o seguro de acordo a kilometragem do trecho
|
|
@ -0,0 +1,5 @@
|
||||||
|
package com.rjconsultores.ventaboletos.service;
|
||||||
|
|
||||||
|
public interface SeguroTarifaService {
|
||||||
|
|
||||||
|
}
|
|
@ -6,11 +6,11 @@ import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.dao.SeguroKmDAO;
|
import com.rjconsultores.ventaboletos.dao.SeguroKmDAO;
|
||||||
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
||||||
import com.rjconsultores.ventaboletos.service.SeguroService;
|
import com.rjconsultores.ventaboletos.service.SeguroKmService;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
|
||||||
@Service("seguroService")
|
@Service("seguroKmService")
|
||||||
public class SeguroServiceImpl implements SeguroService{
|
public class SeguroServiceKmImpl implements SeguroKmService{
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private SeguroKmDAO seguroKmDAO;
|
private SeguroKmDAO seguroKmDAO;
|
Loading…
Reference in New Issue