根据name和email查内容
<if test="selectMsg!=null and selectMsg!=''"> e.name like concat('%',#{selectMsg},'%') or e.email like concat('%',#{selectMsg},'%') </if>
sql多字段模糊查询
最新推荐文章于 2024-03-01 18:13:43 发布
根据name和email查内容
<if test="selectMsg!=null and selectMsg!=''"> e.name like concat('%',#{selectMsg},'%') or e.email like concat('%',#{selectMsg},'%') </if>