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,