WHERE inputtime BETWEEN '${CONCATENATE(year-1,"-01-01")}' AND '${YEARDELTA(today(),-1)}' AND inputtime <= '${CONCATENATE(year-1,"-12-31")}' 有个年份下拉框(year),下拉框是今年的话,用如图inputtime字段显示去年同期数据(去年一月一号到去年当前日期),下拉框是之前年份的话,用如图code显示下拉框前一年一整年数据 可以实现吗 |
最佳回答 |
||||
0
|
|