去除字典按组织查询;
This commit is contained in:
@@ -43,12 +43,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="status != null and status != ''">
|
<if test="status != null and status != ''">
|
||||||
AND status = #{status}
|
AND status = #{status}
|
||||||
</if>
|
</if>
|
||||||
<if test="organizationId != null">
|
<!-- <if test="organizationId != null">-->
|
||||||
AND organization_id = #{organizationId}
|
<!-- AND organization_id = #{organizationId}-->
|
||||||
</if>
|
<!-- </if>-->
|
||||||
<if test="topOrganizationId != null">
|
<!-- <if test="topOrganizationId != null">-->
|
||||||
AND (top_organization_id = #{topOrganizationId} OR is_default = 'Y')
|
<!-- AND (top_organization_id = #{topOrganizationId} OR is_default = 'Y')-->
|
||||||
</if>
|
<!-- </if>-->
|
||||||
</where>
|
</where>
|
||||||
order by dict_sort asc
|
order by dict_sort asc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user