${if(type='month',"and date_format(riqi,'%m')='"+ 月+"'and date_format(riqi,'%Y')='"+年+"'","")} 这个命令 写完了不出参数,哪位大神帮忙看看,哪里格式不对。 type是个单选按钮组控件,年、月分别是两个下拉控件,格式是数字,riqi是我用的数据库里日期的字段名,格式是2018/1/30. 要实现的功能是,在type中选中月时,年、月两个下拉框可以对日期的数据进行查询。 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|