@Service public class AbastecimentoService extends br.inf.thema.erp.infra.service.ManutencaoFiltroService<AbastecimentoVo>
Modifier and Type | Field and Description |
---|---|
private AbastecimentoDao |
abastecimentoDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
AbastecimentoService() |
Modifier and Type | Method and Description |
---|---|
void |
abastecimentoIntegrado(java.lang.String exercicio,
java.lang.Long numero) |
void |
analiseBemMotorista(java.lang.Long bem,
java.lang.Long motorista) |
java.lang.Double |
analiseCombustivel(AbastecimentoVo abastecimento) |
java.math.BigDecimal |
calculoValorTotal(AbastecimentoVo abastecimento) |
java.lang.String |
getBloqueiaAbastecimentoChave() |
br.inf.thema.erp.infra.dao.ManutencaoDao<AbastecimentoVo> |
getDao() |
java.util.List<java.lang.String> |
importaAbastecimento(java.util.List<ImportaAbastecimentoParameterBean> lista,
java.lang.String tipoArquivo,
java.lang.Long administracao,
java.lang.Long usuario) |
java.util.Map<java.lang.String,java.lang.Object> |
insereNotaAbastecimento(java.lang.String exercicio,
java.lang.Long numero,
java.lang.Long sequencia,
java.sql.Date data) |
void |
integracaoMateriais(java.lang.String exercicio,
java.lang.Long numero,
java.lang.Long almoxarifado,
java.sql.Date data,
java.lang.Long localFisico) |
void |
liberaIntegracao(java.lang.String exercicio,
java.lang.Long numero) |
java.util.List<AbastecimentoVo> |
localizarAbastecimentoBem(java.util.Map<java.lang.String,java.lang.Object> where) |
java.util.List<AbastecimentoVo> |
localizarGeral(java.util.Map<java.lang.String,java.lang.Object> where) |
java.lang.String |
obtemDadosAbastecedor(java.lang.Long abastecedor) |
java.util.Map<java.lang.String,java.lang.Object> |
obtemDadosAutorizacao(AbastecimentoVo abastecimento) |
java.util.Map<java.lang.String,java.lang.Object> |
obtemDadosBem(AbastecimentoVo abastecimento) |
java.lang.String |
obtemDadosFornecedor(java.lang.Long fornecedor) |
java.util.Map<java.lang.String,java.lang.Object> |
obtemDadosLocal(java.lang.String codigoLocal) |
java.lang.String |
obtemDadosMotorista(java.lang.Long motorista) |
java.util.Map<java.lang.String,java.lang.Object> |
obtemDadosOrdem(AbastecimentoVo abastecimento) |
java.lang.Long |
proximoAbastecimento() |
java.util.List<AbastecimentoVo> |
recuperarGeral(java.util.Map<java.lang.String,java.lang.Object> where) |
void |
reSelecionaAbastecimento(AbastecimentoVo entidade) |
java.util.Map<java.lang.String,java.lang.Object> |
validaAbastecimento(AbastecimentoVo abastecimento) |
filtrar, filtrar
private static final long serialVersionUID
@Autowired private AbastecimentoDao abastecimentoDao
public br.inf.thema.erp.infra.dao.ManutencaoDao<AbastecimentoVo> getDao()
public java.util.List<AbastecimentoVo> localizarGeral(java.util.Map<java.lang.String,java.lang.Object> where) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<AbastecimentoVo> recuperarGeral(java.util.Map<java.lang.String,java.lang.Object> where) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.Long proximoAbastecimento() throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.util.List<AbastecimentoVo> localizarAbastecimentoBem(java.util.Map<java.lang.String,java.lang.Object> where) 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> validaAbastecimento(AbastecimentoVo abastecimento) 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> obtemDadosAutorizacao(AbastecimentoVo abastecimento) 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> obtemDadosOrdem(AbastecimentoVo abastecimento) 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> obtemDadosBem(AbastecimentoVo abastecimento) 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> obtemDadosLocal(java.lang.String codigoLocal) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.Double analiseCombustivel(AbastecimentoVo abastecimento) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.String obtemDadosFornecedor(java.lang.Long fornecedor) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.String obtemDadosAbastecedor(java.lang.Long abastecedor) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.lang.String obtemDadosMotorista(java.lang.Long motorista) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void analiseBemMotorista(java.lang.Long bem, java.lang.Long motorista) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public java.math.BigDecimal calculoValorTotal(AbastecimentoVo abastecimento) 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 liberaIntegracao(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 integracaoMateriais(java.lang.String exercicio, java.lang.Long numero, java.lang.Long almoxarifado, java.sql.Date data, java.lang.Long localFisico) 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 java.util.Map<java.lang.String,java.lang.Object> insereNotaAbastecimento(java.lang.String exercicio, java.lang.Long numero, java.lang.Long sequencia, java.sql.Date data) 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 abastecimentoIntegrado(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
public java.lang.String getBloqueiaAbastecimentoChave() throws br.inf.thema.erp.infra.service.exception.ErpServiceException
br.inf.thema.erp.infra.service.exception.ErpServiceException
public void reSelecionaAbastecimento(AbastecimentoVo entidade) 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 java.util.List<java.lang.String> importaAbastecimento(java.util.List<ImportaAbastecimentoParameterBean> lista, java.lang.String tipoArquivo, java.lang.Long administracao, java.lang.Long usuario) throws br.inf.thema.erp.infra.service.exception.ErpServiceException, java.lang.Exception
br.inf.thema.erp.infra.service.exception.ErpServiceException
java.lang.Exception