コード例 #1
0
        public List <TeaCertificate> GetPage(FilterEntityModel filterModel, out int totalNum)
        {
            totalNum = 0;
            //参数验证
            if (filterModel == null)
            {
                ErrorMsg = ErrorCode.ParameterNull;
                return(null);
            }

            filterModel.FillWhereTbAsName(Constant.TEA_CERTIFICATE_AS_NAME);//筛选器添加表别名
            //获取数据
            List <TeaCertificate> teaCertificateList = _certificateProvider.GetTeaPage(filterModel, out totalNum);

            return(teaCertificateList);
        }