From b5d05005ead969319589c2d5e2bb44d95c9b6783 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期二, 19 十二月 2023 14:40:25 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml b/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml index ddbcb48..c710225 100644 --- a/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml +++ b/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> -- Gitblit v1.9.1