V0 AB信息抓取调整

This commit is contained in:
jh_peng 2024-11-20 10:41:33 +08:00
parent 097a44f257
commit ceb9a8f3ea

View File

@ -286,7 +286,7 @@ func CronABList() {
quantity, _ = decimal.NewFromFloat(quantity).Round(6).Float64()
var passProbability string
if strings.Contains(tcSfc.TcSfc01, "M596") {
if strings.Contains(tcSfc.TcSfc01, "M596") && passQuantity == 0 {
var reports []*model.Report
global.PostGreSQL.Where("pbi = ? AND product = ? AND lot = ?", tcSfc.TcSfc01, tcSfd.ImaFile.Ima02,
tcSfd.TcSfd06).Find(&reports)