shane
2021-08-20 ab6a423cf604b83f06b5768dbc162ece744a32d9
java110-db/src/main/resources/mapper/user/OrgServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -113,7 +113,7 @@
        and t.parent_org_id = uo.org_id
        and uo.status_cd = '0'
        <if test="staffId != null and staffId !=''">
            and uosr.org_id = uo.org_id
            and uosr.org_id = t.org_id
            and uosr.staff_id = #{staffId}
            and uosr.status_cd = '0'
        </if>
@@ -205,7 +205,7 @@
        and t.parent_org_id = uo.org_id
        and uo.status_cd = '0'
        <if test="staffId != null and staffId !=''">
            and uosr.org_id = uo.org_id
            and uosr.org_id = t.org_id
            and uosr.staff_id = #{staffId}
            and uosr.status_cd = '0'
        </if>
@@ -239,6 +239,9 @@
        <if test="allowOperation !=null and allowOperation != ''">
            and t.allow_operation= #{allowOperation}
        </if>
        <if test="orgId !=null and orgId != ''">
            and t.org_id= #{orgId}
        </if>
    </select>
    <!-- 查询上级组织信息 -->