@Service public class EntregaAtendimentoService extends br.inf.thema.erp.infra.service.ManutencaoService<EntregaAtendimentoVo>
Modifier and Type | Field and Description |
---|---|
private EntregaAtendimentoDao |
entregaAtendimentoDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
EntregaAtendimentoService() |
Modifier and Type | Method and Description |
---|---|
void |
atualizaRemetido(EntregaAtendimentoVo dt) |
EntregaAtendimentoVo |
consultaAtendimento(java.util.Map<java.lang.String,java.lang.Object> parametros) |
java.util.List<EntregaAtendimentoVo> |
consultaAtendimentoRemessa(java.lang.Long codigoPredio,
java.lang.Long codigoUnidadePredio,
java.lang.String codigoLocalFisico,
java.lang.Long entrega) |
java.util.List<EntregaAtendimentoVo> |
consultaDetalheAtendimentoListagemItem(java.lang.String atendimento) |
void |
finalizaAtendimento(java.lang.Long entrega,
java.lang.Long usuario) |
br.inf.thema.erp.infra.dao.ManutencaoDao<EntregaAtendimentoVo> |
getDao() |
java.util.List<br.inf.thema.erp.basico.entidades.localfisico.Predio> |
getPredioPorEntrega(java.lang.Long entrega)
Retorna os predios por entrega
|
java.util.Map<java.lang.String,java.lang.Object> |
obtemDadosAtendimento(java.lang.String exercicio,
java.lang.Long numero) |
java.lang.Long |
quantidadeEmEntrega(java.lang.Long sequencia) |
java.util.List<br.inf.thema.erp.basico.vo.LocalFisicoVo> |
recuperarPorEntregaPredioEUnidade(java.lang.Long predio,
java.lang.Long unidade,
java.lang.Long entrega)
Retorna os locais fisicos por predio e unidade e entrega
|
java.util.List<br.inf.thema.erp.basico.entidades.localfisico.UnidadePredio> |
recuperaUnidadePorEntregaEComarca(java.lang.Long entrega,
java.lang.Long predio)
Retorna as unidade por entrega
|
void |
removeDaEntrega(java.lang.Long entrega,
java.lang.String exercicio,
java.lang.Long numero,
java.lang.Long transferencia) |
private static final long serialVersionUID
@Autowired private EntregaAtendimentoDao entregaAtendimentoDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<EntregaAtendimentoVo> getDao()
public EntregaAtendimentoVo consultaAtendimento(java.util.Map<java.lang.String,java.lang.Object> parametros) throws br.inf.thema.erp.infra.exception.ErpException
br.inf.thema.erp.infra.exception.ErpException
public java.util.List<EntregaAtendimentoVo> consultaAtendimentoRemessa(java.lang.Long codigoPredio, java.lang.Long codigoUnidadePredio, java.lang.String codigoLocalFisico, java.lang.Long entrega) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<EntregaAtendimentoVo> consultaDetalheAtendimentoListagemItem(java.lang.String atendimento) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void finalizaAtendimento(java.lang.Long entrega, java.lang.Long usuario) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<br.inf.thema.erp.basico.entidades.localfisico.Predio> getPredioPorEntrega(java.lang.Long entrega) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
entrega
- Predio
ErpServiceException
public java.util.List<br.inf.thema.erp.basico.entidades.localfisico.UnidadePredio> recuperaUnidadePorEntregaEComarca(java.lang.Long entrega, java.lang.Long predio) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
entrega
- UnidadePredio
ErpServiceException
public java.util.List<br.inf.thema.erp.basico.vo.LocalFisicoVo> recuperarPorEntregaPredioEUnidade(java.lang.Long predio, java.lang.Long unidade, java.lang.Long entrega) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
predio
- unidade
- LocalFisico
ErpServiceException
public java.lang.Long quantidadeEmEntrega(java.lang.Long sequencia) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.Map<java.lang.String,java.lang.Object> obtemDadosAtendimento(java.lang.String exercicio, java.lang.Long numero) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void removeDaEntrega(java.lang.Long entrega, java.lang.String exercicio, java.lang.Long numero, java.lang.Long transferencia) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
@Transactional(rollbackFor={java.lang.RuntimeException.class,java.lang.Exception.class}) public void atualizaRemetido(EntregaAtendimentoVo dt) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException