This commit is contained in:
aozhiwei 2022-09-21 15:57:47 +08:00
parent aed93cef4f
commit 24752d36d6

View File

@ -33,11 +33,12 @@ class Fragment {
}
}
async fetchAllocedFragments(conn, daySeconds) {
async fetchAllocedFragments(conn, daySeconds, nowTime) {
const {err, rows} = await conn.execQuery(
'SELECT * FROM t_fragment_pool WHERE alloc_time >= ? AND alloc_time <= ?',
[
daySeconds
daySeconds,
nowTime
]
);
if (err) {