From 3c15e684416e06a7351eeb2d756e5be778a893fd Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期三, 17 七月 2024 10:37:23 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/basicInfo/TyProductModelDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/basicInfo/TyProductModelDao.xml b/modules/mainPart/src/main/resources/mapper/basicInfo/TyProductModelDao.xml index 828ae0b..a8ab5de 100644 --- a/modules/mainPart/src/main/resources/mapper/basicInfo/TyProductModelDao.xml +++ b/modules/mainPart/src/main/resources/mapper/basicInfo/TyProductModelDao.xml @@ -20,7 +20,7 @@ AND is_delete = 0 ) ) - and ((node_type = 1) or (node_type <> 1 and id not in (select src_id from product_model where pid = + and ((node_type > ${nodeType}) or ( id not in (select src_id from product_model where pid = ${pid} and is_delete=0))) ORDER BY node_type,sort -- Gitblit v1.9.1