
admin
1.直接写的报表项里如:
where addTime>='2024-8-22' and addTime<='2025-8-22'
2.加搜索条件,用条件表达式如:
where 1=1 {exp:'{querystring:s1_s}'.length > 0 ? ' and addTime>=\'{querystring:s1_s}\'' : ''}{exp:'{querystring:s1_s}'.length > 0 ? ' and addTime<=\'{querystring:s1_e}\'' : ''}
2025-08-22 19:43:59