From 333edc69abad58401cab6072ede516bac14bc547 Mon Sep 17 00:00:00 2001 From: mashuai Date: Fri, 6 Dec 2024 17:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/material/lease/MaLeaseInfoMapper.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml index 2c65fd5..6559cea 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/lease/MaLeaseInfoMapper.xml @@ -259,11 +259,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and m.city_code = #{cityCode} and ( - locate(#{keyWord},mt1.type_name) > 0 - or locate(#{keyWord},mt2.type_name) > 0 - or locate(#{keyWord},mt3.type_name) > 0 - or locate(#{keyWord},mt4.type_name) > 0 - or locate(#{keyWord},m.lease_name) > 0 + locate(#{keyWord},m.lease_name) > 0 ) GROUP BY m.lease_code @@ -395,6 +391,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN ma_type mt3 ON mt3.type_id = mt4.parent_id and mt3.del_flag = '0' LEFT JOIN ma_type mt2 ON mt2.type_id = mt3.parent_id and mt2.del_flag = '0' LEFT JOIN ma_type mt1 ON mt1.type_id = mt2.parent_id and mt1.del_flag = '0' - where lease_id = #{id} + where m.lease_id = #{id} \ No newline at end of file