diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs index fe7b2ccd..13f666e6 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs @@ -168,13 +168,13 @@ namespace FineUIPro.Web.Transfer //} if (!string.IsNullOrEmpty(txtPIC.Text.Trim())) { - strSql += " AND PIC = @PIC"; - listStr.Add(new SqlParameter("@PIC", txtPIC.Text.Trim())); + strSql += " AND PIC like @PIC"; + listStr.Add(new SqlParameter("@PIC", "%" + this.txtPIC.Text.Trim() + "%")); } if (!string.IsNullOrEmpty(txtPIC_WUH.Text.Trim())) { - strSql += " AND PIC_WUH = @PIC_WUH"; - listStr.Add(new SqlParameter("@PIC_WUH", txtPIC_WUH.Text.Trim())); + strSql += " AND PIC_WUH like @PIC_WUH"; + listStr.Add(new SqlParameter("@PIC_WUH", "%" + this.txtPIC_WUH.Text.Trim() + "%")); } if (!string.IsNullOrEmpty(ddlStatus.SelectedValue.Trim())) {