예제 #1
0
        //public bool SP_U_TB016_Vincula_TB025(Int64 TB016_id, Int64 TB012_id, Int64 TB025_id)
        //{
        //    try
        //    {
        //        PagamentoDAO DAO = new PagamentoDAO();
        //        return DAO.SP_U_TB016_Vincula_TB025(TB016_id, TB012_id, TB025_id);
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        //public long PagamentoIncluir(PagamentosController Pagamento, Int64 TB013_AlteradoPor,Int64 TB012_Id)
        //{
        //    try
        //    {
        //        PagamentoDAO DAO = new PagamentoDAO();

        //        Int64 Retorno = DAO.PagamentoIncluir(Pagamento);

        //        if(Retorno>0)
        //        {
        //            LogNegocios Log_N = new LogNegocios();
        //            LogController Log_C = new LogController();
        //            Log_C.TB012_Id = TB012_Id;
        //            Log_C.TB011_Id = TB013_AlteradoPor;
        //            Log_C.TB000_IdTabela = 25;
        //            Log_C.TB000_Tabela = "Pagamento";
        //            Log_C.TB000_Data = DateTime.Now;
        //            Log_C.TB000_Descricao = string.Format(MensagensLog.L0028.ToString(), Retorno);
        //            Log_N.LogInsert(Log_C);
        //        }

        //        return Retorno;
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        //public bool SP_U_TB013_GerarCartaoMassa()
        //{
        //    try
        //    {
        //        PagamentoDAO DAO = new PagamentoDAO();
        //        return DAO.SP_U_TB013_GerarCartaoMassa();
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        public List <PagamentosController> ParcelasListarErrosSICOOB(DateTime Inicio, DateTime fim)
        {
            try
            {
                PagamentoDAO DAO = new PagamentoDAO();
                return(DAO.ParcelasListarErrosSICOOB(Inicio, fim));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }