select * from ORDER_INFO where 1=1 ${if(len(订购日期)==0,"","and strftime('%Y',ORDER_TIME)='"+订购日期+"'")} 我用strftime方式不对吗 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|