示例#1
0
        public bool setCorrecaoRejected(long idEqp)
        {
            ClsBdOra banco = new ClsBdOra();

            try
            {
                banco.openConn();
                return(banco.SETSql(this.getSQL_setCorrecaoRejected(idEqp)));
            }
            catch (Exception ex)
            {
                return(false);
            }
        }
示例#2
0
        /// <summary>
        /// Método que altera o incidente pendente, status "EN" -> status "AP"
        /// </summary>
        /// <returns>Boolean</returns>
        public bool setReembolsoStatusAP(ClsIncidente incidente)
        {
            ClsBdOra     banco = new ClsBdOra();
            ClsIncidente inc   = new ClsIncidente();

            inc = incidente;
            try
            {
                banco.openConn();
                bool exec = banco.SETSql(this.getSQL_SETReembolsosAP(inc));
                return(exec);
            }
            catch (Exception ex)
            {
                return(false);
            }
        }