<if test="type!=null and type!=''">
AND type = #{type}
</if>
mybatis判断是否为空或null
最新推荐文章于 2025-06-29 20:44:22 发布
<if test="type!=null and type!=''">
AND type = #{type}
</if>