fix
This commit is contained in:
parent
197b348469
commit
f977017eca
2
item.go
2
item.go
@ -488,7 +488,7 @@ func getObjItemValDet(objID64 int64, quality string, days int) (float64, int64)
|
||||
FROM obj_msg_auction_announce omaa
|
||||
WHERE omaa.item_id = ?
|
||||
AND omaa.quality = ?
|
||||
AND omaa.end > CURRENT_TIMESTAMP - ?
|
||||
AND omaa.end > DATE_ADD(CURRENT_TIMESTAMP, INTERVAL - ? DAY)
|
||||
AND omaa.status = 'Finished'`, objID64, quality, days)
|
||||
err = row.Scan(&val, &qty)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user