...
|
...
|
@@ -46,7 +46,7 @@ |
|
|
select * from (
|
|
|
select id, skup, storage_id, price
|
|
|
from bid_storage_price
|
|
|
where status = 1 and product_id = #{productId} and attribute = 1
|
|
|
where status = 10 and product_id = #{productId} and attribute = 1
|
|
|
order by storage_id, price DESC limit 1000000
|
|
|
) a group by storage_id
|
|
|
|
...
|
...
|
|