张天森
2022-10-27 2148e9e1f40388ec2710e54f634906378ded1a33
flower_city/src/main/resources/mapper/ClassifyAdministrationMapper.xml
@@ -52,7 +52,7 @@
                select classify_id from  automessage_transaction_event where department_id=#{departmentId} UNION
                select parent_id from  automessage_classify_administration
                where id in (select classify_id FROM automessage_transaction_event
                where department_id=#{departmentId}))
                where department_id in (select id from automessage_organization_chart where id=#{departmentId}  or parent_id=#{departmentId}))  )
            </if>
        </where>
    </select>