コード例 #1
0
        public List <MRH_TRAB_COMP_Bean> ConsultarMes_MRH_TRAB_COMPDAction(String mes, String ano)
        {
            MRH_TRAB_COMP_Dao         trabDao  = new MRH_TRAB_COMP_Dao();
            List <MRH_TRAB_COMP_Bean> trabList = trabDao.getMes_MRH_TRAB_COMP(mes, ano);

            trabDao.closeBD();
            return(trabList);
        }
コード例 #2
0
        public MRH_TRAB_COMP_Bean ConsultarMRH_TRAB_COMPAction()
        {
            MRH_TRAB_COMP_Bean trab    = null;
            MRH_TRAB_COMP_Dao  trabDao = new MRH_TRAB_COMP_Dao();

            trab = trabDao.getMRH_TRAB_COMP();
            trabDao.closeBD();
            return(trab);
        }