字典查询BUG

This commit is contained in:
秦鸿展
2026-06-17 18:06:45 +08:00
parent eea0208236
commit f8a28c04f6
@@ -43,12 +43,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null and status != ''">
AND status = #{status}
</if>
<!-- <if test="organizationId != null">-->
<!-- AND organization_id = #{organizationId}-->
<!-- </if>-->
<!-- <if test="topOrganizationId != null">-->
<!-- AND (top_organization_id = #{topOrganizationId} OR is_default = 'Y')-->
<!-- </if>-->
<if test="organizationId != null">
AND organization_id = #{organizationId}
</if>
<if test="topOrganizationId != null">
AND (top_organization_id = #{topOrganizationId} OR is_default = 'Y')
</if>
</where>
order by dict_sort asc
</select>