V0 AB信息抓取调整
This commit is contained in:
parent
097a44f257
commit
ceb9a8f3ea
@ -286,7 +286,7 @@ func CronABList() {
|
|||||||
quantity, _ = decimal.NewFromFloat(quantity).Round(6).Float64()
|
quantity, _ = decimal.NewFromFloat(quantity).Round(6).Float64()
|
||||||
|
|
||||||
var passProbability string
|
var passProbability string
|
||||||
if strings.Contains(tcSfc.TcSfc01, "M596") {
|
if strings.Contains(tcSfc.TcSfc01, "M596") && passQuantity == 0 {
|
||||||
var reports []*model.Report
|
var reports []*model.Report
|
||||||
global.PostGreSQL.Where("pbi = ? AND product = ? AND lot = ?", tcSfc.TcSfc01, tcSfd.ImaFile.Ima02,
|
global.PostGreSQL.Where("pbi = ? AND product = ? AND lot = ?", tcSfc.TcSfc01, tcSfd.ImaFile.Ima02,
|
||||||
tcSfd.TcSfd06).Find(&reports)
|
tcSfd.TcSfd06).Find(&reports)
|
||||||
|
Loading…
Reference in New Issue
Block a user