From 7cfb3068b1d2ff6ac549bb6775ce2be0e0d6ec49 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期五, 08 十二月 2023 16:30:29 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml b/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml index 95fb716..7cfbb64 100644 --- a/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml +++ b/modules/mainPart/src/main/resources/mapper/configItemWarehouse/WarehouseConfigItemDao.xml @@ -48,11 +48,8 @@ from config_item_warehouse_detail a WHERE a.is_delete = 0 and a.project_id = ${projectId} - <if test="warehouse_id!=null"> - AND id not in (select id from config_item_warehouse_detail where is_delete = 0 and warehouse_id = ${warehouseId}) - </if> - <if test="selectIds!=null"> - AND id not in (${selectIds}) + <if test="ids!=null"> + AND id not in (${ids}) </if> </select> -- Gitblit v1.9.1