jinlin
2023-12-19 b5d05005ead969319589c2d5e2bb44d95c9b6783
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>