update m2pool 最近一次矿池算力数据查询新增时间限制
This commit is contained in:
@@ -406,7 +406,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
<select id="getNowPoolDailyPower" resultType="java.lang.Double">
|
||||
select sum(mhs30m) from ${table} group by `date` order by `date` desc limit 1;
|
||||
select sum(mhs30m) from ${table} where `date` >= DATE_SUB(NOW(), INTERVAL 30 MINUTE) group by `date` order by `date` desc limit 1;
|
||||
</select>
|
||||
|
||||
<select id="get24hAccountPowerListByAccount" resultType="com.m2pool.pool.dto.PowerLineDto">
|
||||
|
||||
Reference in New Issue
Block a user