积木报表设置时间

// 需要查询的表

select *  from TECHPROC_PRODUCTION_RECORDS where techproccode='CUT' 

 

// 日期范围 startTime 开始时间   endTime结束时间   createtime 后台接收的时间字段

<#if isNotEmpty(startTime)>
and to_char(createtime , 'yyyy-MM-dd ') >= '${startTime}'
</#if>
<#if isNotEmpty(endTime)>
and to_char(createtime , 'yyyy-MM-dd ') <= '${endTime}'
</#if>

 

 

通过url获取参数   https://help.jeecg.com/jimureport/query/sqlCondition.html

posted @ 2024-08-15 08:18  惠鹏曦  阅读(22)  评论(0编辑  收藏  举报