示例#1
0
        /// <summary>
        /// 分页查询CompanyInstaller信息
        /// </summary>
        public static QueryResult <CompanyInstaller> QueryCompanyInstallerList(QF_CompanyInstaller filter)
        {
            DataCommand cmd = new DataCommand("QueryCompanyInstallerList");

            cmd.QuerySetCondition("CompanySysNo", ConditionOperation.Equal, DbType.Int32, filter.CompanySysNo);

            QueryResult <CompanyInstaller> result = cmd.Query <CompanyInstaller>(filter, " InstallerSysNo DESC");

            return(result);
        }
示例#2
0
        public JsonResult QueryCompnayInstallers(int companySysNo)
        {
            var filter = new QF_CompanyInstaller {
                PageSize = 10000, CompanySysNo = companySysNo
            };
            var result = CompanyService.QueryCompanyInstallerList(filter);

            return(Json(new AjaxResult {
                Success = true, Data = result.data
            }));
        }
 /// <summary>
 /// 分页查询CompanyInstaller信息
 /// </summary>
 public static QueryResult <CompanyInstaller> QueryCompanyInstallerList(QF_CompanyInstaller filter)
 {
     return(CompanyInstallerDA.QueryCompanyInstallerList(filter));
 }