数据分析平台 FT记录晶圆型号筛选问题

This commit is contained in:
jh_peng 2025-03-18 14:55:55 +08:00
parent 3df5295cd5
commit 1657b11b6f

View File

@ -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,