From 1657b11b6fcdbf1f5af743830a98b712f90001ba Mon Sep 17 00:00:00 2001 From: jh_peng Date: Tue, 18 Mar 2025 14:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=86=E6=9E=90=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=20FT=E8=AE=B0=E5=BD=95=E6=99=B6=E5=9C=86=E5=9E=8B?= =?UTF-8?q?=E5=8F=B7=E7=AD=9B=E9=80=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repository/test.data/report.list.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/repository/test.data/report.list.go b/repository/test.data/report.list.go index 58d88b8..16f89ab 100644 --- a/repository/test.data/report.list.go +++ b/repository/test.data/report.list.go @@ -896,6 +896,13 @@ func FTList(r *request.FTList) ([]*model.FTShowList, int64) { sql += " AND product LIKE '%" + r.Product + "%'" } } + if r.WaferProduct != "" { + if sql == "" { + sql += "wafer_product LIKE '%" + r.WaferProduct + "%'" + } else { + sql += " AND wafer_product LIKE '%" + r.WaferProduct + "%'" + } + } if r.Package != "" { if sql == "" { sql += "package LIKE '%" + r.Package + "%'" @@ -1113,7 +1120,6 @@ func FTList(r *request.FTList) ([]*model.FTShowList, int64) { HardBinFailMap: siteMap[site.Site].HardBinFailMap, } } - } ftShowList = model.FTShowList{ Status: ftShowList.Status,