1
This commit is contained in:
parent
7b625b3048
commit
7f78942803
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user