lidongdong
2022-10-18 07f19aeaaba1acde55314ab40115cf66fc1b9ad0
flower_city/src/main/resources/mapper/ClassifyAdministrationMapper.xml
@@ -50,7 +50,9 @@
            <if test="departmentId!=null">
                and id in (
                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})   )
                select parent_id from  automessage_classify_administration
                where id in (select classify_id FROM automessage_transaction_event
                where department_id=#{departmentId}))
            </if>
        </where>
    </select>
@@ -104,9 +106,6 @@
        </where>
    </select>
    <select id="selectParent" resultType="string">
        select id from automessage_classify_administration
        <where>
@@ -124,8 +123,5 @@
            </if>
        </where>
    </select>
</mapper>