/// <summary> /// 查询族谱路径 /// </summary> /// <returns></returns> public ActionResult GetParentList() { string CompanyID = WebUtil.GetFormValue <string>("CompanyID"); string SnNum = WebUtil.GetFormValue <string>("SnNum"); ProductCategoryProvider provider = new ProductCategoryProvider(CompanyID); List <ProductCategoryEntity> list = provider.GetParentList(SnNum); DataResult <List <ProductCategoryEntity> > dataResult = new DataResult <List <ProductCategoryEntity> >(); dataResult.Code = (int)EResponseCode.Success; dataResult.Message = "响应成功"; dataResult.Result = list; return(Content(JsonHelper.SerializeObject(dataResult))); }