Skip to content

mybatis postgres 使用pagehelper 失败 使用with的语法,不能有效分页 #181

@bhme

Description

@bhme

WITH date_series AS (
SELECT FLOOR(EXTRACT(EPOCH FROM day) * 1000) AS day
FROM generate_series(
to_timestamp(#{startTime} / 1000),
to_timestamp(#{endTime} / 1000),
'1 day':: interval
) AS day
WHERE FLOOR(EXTRACT (EPOCH FROM day) * 1000) < #{endTime}
), 如果使用pagehelper 不支持分页。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions