lidongdong
2022-10-18 7ee1dcc2d059680ca05987490cd419077e34b02f
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>