This commit is contained in:
aozhiwei 2023-07-11 14:09:30 +08:00
parent 48b7645dfd
commit 6878a0744c

View File

@ -79,7 +79,7 @@ class DbEventProcess extends BaseService {
return;
}
const {err, rows} = await this.conn.execQuery(
'SELECT * FROM ${tableName} WHERE `idx` > ? AND `idx` <= ? ' +
`SELECT * FROM ${tableName} WHERE idx > ? AND idx <= ? ` +
'AND net_id = ? AND event_name = ? AND contract_address = ? AND ' +
'status = ' + constant.EVENTDB_STATE_PENDING + ' ' +
'LIMIT ' + LIMIT_COUNT,