select * from Bill_BoHaiLeave where 1=1 ${if(type=="日期", " and format(fromDate,yyyy-mm-dd) >= '"+ startdate +"' and format(toDate,yyyy-mm-dd) <='"+ enddate +"'"," and month(fromDate) = '2011-11'")} 大家帮看一下,这个语句有没有问题 |
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|