<if test="name !=null">and e.name like CONCAT('%',#{name},'%')</if>
<if test="buyDate !=null "><![CDATA[and e.buy_date<=#{buyDate}]]></if>
@DateTimeFormat
private Date buyDate;
日期查询和like查询的
猜你喜欢
转载自dapeng.iteye.com/blog/2364175
今日推荐
周排行