物料规格型号改成material_specification字段

This commit is contained in:
2024-06-13 17:18:38 +08:00
parent c368e24d9e
commit c5a7e672b6
7 changed files with 30 additions and 28 deletions

View File

@@ -207,8 +207,8 @@ namespace Tnb.BasicData
.Where(x => x.state == "1")
.WhereIF(queryJson != null && queryJson.ContainsKey("name"), x => x.name.Contains(queryJson!["name"]))
.WhereIF(queryJson != null && queryJson.ContainsKey("code"), x => x.code.Contains(queryJson!["code"]))
.WhereIF(queryJson != null && queryJson.ContainsKey("material_standard"),
x => x.material_standard!.Contains(queryJson!["material_standard"]))
.WhereIF(queryJson != null && queryJson.ContainsKey("material_specification"),
x => x.material_specification!.Contains(queryJson!["material_specification"]))
.Select(x => x);
List<ISugarQueryable<BasMaterial>> list = new();