wente
2023-12-19 dd5c0e7704a9ed729492b328e42d22014067b0b4
modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml
@@ -54,9 +54,10 @@
        from config_item_warehouse_detail a
        WHERE a.is_delete = 0
        and a.project_id = ${projectId}
        and a.select_id is NULL
        <if test="ids!=null and ids!=''">
            AND id not in (${ids})
            and a.id NOT IN (select select_id from config_item_warehouse_detail where select_id is not null)
        </if>
        and a.id NOT IN (select select_id from config_item_warehouse_detail where select_id is not null)
    </select>
</mapper>