<delete id="deleteByIds" parameterType="java.util.List">
DELETE FROM PRDT_SYS_DEPT
WHERE ID in
<foreach collection="list" item="tenantId" open="(" separator="," close=")">
#{tenantId}
</foreach>
</delete>
DELETE FROM PRDT_SYS_DEPT
WHERE ID in
<foreach collection="list" item="tenantId" open="(" separator="," close=")">
#{tenantId}
</foreach>
</delete>