From be6e4ba8fff4b973d07f34e9a9f9118ffc5d3d16 Mon Sep 17 00:00:00 2001 From: yangsb Date: Thu, 28 Mar 2024 17:21:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=8E=88=E6=9D=83=E5=88=86=E9=A1=B5=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=93=8D=E5=BA=94=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/process/MachineTemplateMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cf-module-system/cf-module-system-biz/src/main/resources/mapper/process/MachineTemplateMapper.xml b/cf-module-system/cf-module-system-biz/src/main/resources/mapper/process/MachineTemplateMapper.xml index 00991ffdf..708307499 100644 --- a/cf-module-system/cf-module-system-biz/src/main/resources/mapper/process/MachineTemplateMapper.xml +++ b/cf-module-system/cf-module-system-biz/src/main/resources/mapper/process/MachineTemplateMapper.xml @@ -34,9 +34,9 @@ resultType="com.cf.imes.module.system.controller.admin.machine.vo.AutoTemplateVO" parameterType="java.util.Map"> select b.user_id, c.name AS templateName, c.id AS templateId from user_machine b - inner join system_machine_template c on b.machine_id = c.id + inner join system_machine_template c on b.machine_id = c.id and c.deleted = 0 - c.deleted = 0 + b.user_id = #{userId} and c.name like concat('%',#{templateName},'%')