diff --git a/src/main/resources/mapper/lease/LeaseOrderMiningMapper.xml b/src/main/resources/mapper/lease/LeaseOrderMiningMapper.xml index 61c89eb..1ed5fb0 100644 --- a/src/main/resources/mapper/lease/LeaseOrderMiningMapper.xml +++ b/src/main/resources/mapper/lease/LeaseOrderMiningMapper.xml @@ -64,7 +64,7 @@ UPDATE lease_order_mining - SET watch_url = #{clientConfigurationMining.watchUrl} + SET watch_url = #{clientConfigurationMining.watch_url} WHERE user_id = #{userEmail} AND pool = #{clientConfigurationMining.pool} @@ -117,9 +117,9 @@ WHERE wallet = #{wallet} AND coin = #{coin} AND miner IN ( - - #{item.workerId} - + + #{item.workerId} + ) ORDER BY miner, datetime DESC ) sub, @@ -211,7 +211,7 @@ pool = #{info.pool} AND pool_url = #{info.poolUrl} AND coin = #{info.coin} AND - `algorithm` = #{info.algorithm} + `algorithm` = #{info.algorithm} AND status = 1