修改质量接口

This commit is contained in:
2023-03-15 10:55:53 +08:00
parent 643ef1ceb8
commit c30f2badb9
18 changed files with 838 additions and 1 deletions
@@ -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;