From 96edb3bd23c5974bace732f037f4682c755190db Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Wed, 26 Feb 2025 14:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E4=BA=A4=E5=B0=BE=E9=A1=B9=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E8=B4=A3=E4=BB=BB=E4=BA=BA=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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())) {