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 31 点赞 0 评论 46 浏览