update 已购商品查询接口问题修复
This commit is contained in:
@@ -69,8 +69,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="getPurchasedItems" resultType="com.m2pool.lease.dto.v2.PurchasedMachineListDto">
|
<select id="getPurchasedItems" resultType="com.m2pool.lease.dto.v2.PurchasedMachineListDto">
|
||||||
select
|
select MAX(id) as id,
|
||||||
id,
|
|
||||||
coin,
|
coin,
|
||||||
algorithm,
|
algorithm,
|
||||||
pool,
|
pool,
|
||||||
@@ -78,11 +77,11 @@
|
|||||||
pool_user as poolUser,
|
pool_user as poolUser,
|
||||||
wallet_address as walletAddress,
|
wallet_address as walletAddress,
|
||||||
watch_url as watchUrl,
|
watch_url as watchUrl,
|
||||||
end_time
|
MAX(end_time) as endTime
|
||||||
FROM lease_order_mining
|
FROM lease_order_mining
|
||||||
WHERE auth_id = #{authId}
|
WHERE auth_id = #{authId}
|
||||||
GROUP BY wallet_address,pool_user,pool,pool_url,coin,`algorithm`
|
GROUP BY coin,`algorithm`,pool,pool_url,pool_user,wallet_address,watch_url
|
||||||
ORDER BY `status` DESC,end_time DESC
|
ORDER BY endTime DESC
|
||||||
</select>
|
</select>
|
||||||
<select id="getPurchasedInfo" resultType="com.m2pool.lease.dto.v2.MiningConfigInfoDto">
|
<select id="getPurchasedInfo" resultType="com.m2pool.lease.dto.v2.MiningConfigInfoDto">
|
||||||
select
|
select
|
||||||
|
|||||||
Reference in New Issue
Block a user