MySQL模糊查询带%的进行查询 <sql id="queryCondition"> <if test="query != null"> <if test="query.id != null and query.id != 0"> and ID = #{query.id} </if>< sql 2024-01-26 225 点赞 3 评论 340 浏览