This commit is contained in:
gcw_MV9p2JJN 2025-12-31 18:29:09 +08:00
parent 7b625b3048
commit 7f78942803

View File

@ -257,7 +257,11 @@ namespace MDM.Services.Process
public List<MaterialList> SearchMaterialInfo(string material_info)
{
return null;
var response = Context.Queryable<MaterialList>()
.WhereIF(!string.IsNullOrEmpty(material_info), m => m.Name.Contains(material_info) || m.Code.Contains(material_info))
.ToList();
return response;
}
public List<ProcessErrorProofRule> SearchMaterialErrorproofDict(string error_proof_rule_code)