以离职日期为查询条件,同时参数为空选择全部,怎么把between and 放在 select * from where 1=1 ${IF(LEN(离职日期) == 0,"","AND lzrq = '" + 离职日期 + "'")} 语句里 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|