修改质量接口
This commit is contained in:
@@ -86,6 +86,11 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
strSql += " AND EquipmentName like @EquipmentName";
|
||||
listStr.Add(new SqlParameter("@EquipmentName", "%" + this.txtEquipmentName.Text.Trim() + "%"));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtSpecificationAndModel.Text.Trim()))
|
||||
{
|
||||
strSql += " AND SpecificationAndModel like @SpecificationAndModel";
|
||||
listStr.Add(new SqlParameter("@SpecificationAndModel", "%" + this.txtSpecificationAndModel.Text.Trim() + "%"));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
return tb;
|
||||
|
||||
Reference in New Issue
Block a user