过滤包装规格 name等于空的值

This commit is contained in:
zhou-hongcheng
2026-03-09 09:33:17 +08:00
parent 6a25f97ddb
commit 6d17c91500
3 changed files with 7 additions and 0 deletions
@@ -57,6 +57,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="name != null and name != ''">
and name like concat('%', #{name}, '%')
</if>
<if test="isName != null and isName != ''">
AND NAME IS NOT NULL AND NAME != ''
</if>
<if test="number != null ">
and number = #{number}
</if>