fix
This commit is contained in:
parent
f0a22e1edf
commit
a12e7be611
4
item.go
4
item.go
@ -483,8 +483,8 @@ func getObjItemValDet(objID64 int64, quality string, days int) (float64, int64)
|
||||
if !item.Auction {
|
||||
return 0, 0
|
||||
}
|
||||
row := db.QueryRow(`SELECT avg(omaa.price)
|
||||
,count(*)
|
||||
row := db.QueryRow(`SELECT COALESCE(avg(omaa.price), 0)
|
||||
,COALESCE(count(*), 0)
|
||||
FROM obj_msg_auction_announce omaa
|
||||
WHERE omaa.item_id = ?
|
||||
AND omaa.quality = ?
|
||||
|
Loading…
Reference in New Issue
Block a user