Commit 987f2924 by xin.yang

fix bug

parent 19e0b3ff
......@@ -66,7 +66,7 @@ namespace Siger.ApiACC.Controllers
model.parentcategoryids = parentcateIds1;
models.Add(model);
}
item.children = models;
item.childrens = models;
list.Add(item);
}
......
......@@ -54,7 +54,8 @@ namespace Siger.Middlelayer.AccRepository.Repositories
parentcate_guid = t1.guid,
parentguid = q.parent,
fixtureguid = q.son,
remark = q.remark
remark = q.remark,
parentcategoryid = c1 == null ? 0 : c1.id
};
Expression<Func<ResponseAumationFixtureToolsAssembly, bool>> categoryExpression = f => true;
if (category > 0)
......
......@@ -139,12 +139,13 @@ namespace Siger.Middlelayer.AccRepository.Response
public List<int> parentcategoryids { get; set; } = new List<int>();
public string cate_guid { get; set; }
public List<int> categoryids { get; set; } = new List<int>();
public int parentcategoryid { get; set; }
public string parentguid { get; set; }
public string fixtureguid { get; set; }
public List<ResponseAumationFixtureToolsAssembly> children { get; set; }
public List<ResponseAumationFixtureToolsAssembly> childrens { get; set; }
public string remark { get; set; }
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment