|
@@ -38,6 +38,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="tenantId != null">
|
|
<if test="tenantId != null">
|
|
AND tenant_id = #{tenantId}
|
|
AND tenant_id = #{tenantId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="tenantId == null">
|
|
|
|
+ and tenant_id is null
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|