This commit is contained in:
shoopea 2020-08-08 12:31:34 +02:00
parent f977017eca
commit 226c1fc0ab

View File

@ -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 > DATE_ADD(CURRENT_TIMESTAMP, INTERVAL - ? DAY)
AND omaa.end > DATE_ADD(CURRENT_TIMESTAMP, INTERVAL -? DAY)
AND omaa.status = 'Finished'`, objID64, quality, days)
err = row.Scan(&val, &qty)
if err != nil {