<if test="phone != null and phone != ''">and phone LIKE CONCAT('%', #{phone}, '%')</if> <if test="name != null and name != ''">and name like concat('%',#{name},'%')</if>
mybatis 模糊查询最高效方法
猜你喜欢
转载自blog.csdn.net/weixin_37909363/article/details/82423453
今日推荐
周排行