From bdfdcad1099b8f2833db41b38f480250ce1bcf78 Mon Sep 17 00:00:00 2001
From: haozq <1611483981@qq.com>
Date: Thu, 14 Nov 2024 16:53:47 +0800
Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/mappers/plan/PlanApplicationMapper.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/main/resources/mappers/plan/PlanApplicationMapper.xml b/src/main/resources/mappers/plan/PlanApplicationMapper.xml
index f209057..e4d3099 100644
--- a/src/main/resources/mappers/plan/PlanApplicationMapper.xml
+++ b/src/main/resources/mappers/plan/PlanApplicationMapper.xml
@@ -173,6 +173,17 @@
LEFT JOIN mm_type mt1 on mt.PARENT_ID=mt1.id and mt1.IS_ACTIVE=1
LEFT JOIN mm_type mt2 on mt1.PARENT_ID=mt2.id and mt2.IS_ACTIVE=1
WHERE mt.IS_ACTIVE=1 and mt.`LEVEL`=4
+
+ and mt.name like concat('%',#{name},'%')
+
+
+ and mt1.name like concat('%',#{pName},'%')
+
+
+ and mt2.name like concat('%',#{ppName},'%')
+
+
+
ORDER BY mt.`NAME` desc