youseries / ureport

UReport2 is a high-performance pure Java report engine based on Spring architecture, where complex Chinese-style statements and reports can be prepared by iterating over cells.
Apache License 2.0
2.05k stars 836 forks source link

表达式数据集字段时间格式化问题 #565

Open wangwei0618 opened 2 years ago

wangwei0618 commented 2 years ago

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

${ if(param("type")==""||param("type")==null){ return " select * from equipment where 1=1 and DATE_FORMAT(time,'%Y-%m')=DATE_FORMAT(now(),'%Y-%m') " }

}