数据分析平台 记录回货信息抓取规则调整
This commit is contained in:
parent
fb6fbcb717
commit
12d3f80619
@ -1105,6 +1105,10 @@ func CronFTList() {
|
||||
for _, ftListStock := range ftListStocks {
|
||||
if ftListStock.ReturnDate == k {
|
||||
isHandled = true
|
||||
global.PostGreSQL.Model(&ftListStock).Updates(map[string]interface{}{
|
||||
"pass_quantity": v[0],
|
||||
"fail_quantity": v[1],
|
||||
})
|
||||
}
|
||||
}
|
||||
if !isHandled {
|
||||
|
Loading…
Reference in New Issue
Block a user