去除字典按组织查询;
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user