gleimar 2012-08-28 15:13:14 +00:00
parent da2434c3d6
commit 27ff85a7c5
4 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,11 @@
package com.rjconsultores.ventaboletos.dao;
import com.rjconsultores.ventaboletos.service.SeguroService;
import com.rjconsultores.ventaboletos.service.SeguroKmService;
public interface SeguroKmDAO {
/**
* See {@link SeguroService#atualizarSeguroPorKm(Integer, Integer, Integer)}
* See {@link SeguroKmService#atualizarSeguroPorKm(Integer, Integer, Integer)}
* @param rutaId
* @param orgaoId
* @param usuarioId

View File

@ -2,7 +2,7 @@ package com.rjconsultores.ventaboletos.service;
import com.rjconsultores.ventaboletos.exception.BusinessException;
public interface SeguroService {
public interface SeguroKmService {
/**
* Atualiza o seguro de acordo a kilometragem do trecho

View File

@ -0,0 +1,5 @@
package com.rjconsultores.ventaboletos.service;
public interface SeguroTarifaService {
}

View File

@ -6,11 +6,11 @@ import org.springframework.transaction.annotation.Transactional;
import com.rjconsultores.ventaboletos.dao.SeguroKmDAO;
import com.rjconsultores.ventaboletos.exception.BusinessException;
import com.rjconsultores.ventaboletos.service.SeguroService;
import com.rjconsultores.ventaboletos.service.SeguroKmService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
@Service("seguroService")
public class SeguroServiceImpl implements SeguroService{
@Service("seguroKmService")
public class SeguroServiceKmImpl implements SeguroKmService{
@Autowired
private SeguroKmDAO seguroKmDAO;