From c64c9f6fb38f65be99b827c1af8d3c3852f68ba4 Mon Sep 17 00:00:00 2001
From: cheng <418351270@qq.com>
Date: 星期二, 12 十二月 2023 17:18:19 +0800
Subject: [PATCH] 添加油脂

---
 guns-vip-main/src/main/java/cn/stylefeng/guns/modular/gm/greaseManage/mapper/mapping/GreaseManageMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/gm/greaseManage/mapper/mapping/GreaseManageMapper.xml b/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/gm/greaseManage/mapper/mapping/GreaseManageMapper.xml
index ea018d4..1736244 100644
--- a/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/gm/greaseManage/mapper/mapping/GreaseManageMapper.xml
+++ b/guns-vip-main/src/main/java/cn/stylefeng/guns/modular/gm/greaseManage/mapper/mapping/GreaseManageMapper.xml
@@ -26,6 +26,9 @@
         select
         <include refid="Base_Column_List"/>
         from gm_grease_manage where 1 = 1
+        <if test="paramCondition.locationCode != null and paramCondition.locationCode != ''">
+            and location_code like CONCAT('%',#{paramCondition.locationCode},'%')
+        </if>
     </select>
 
     <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.gm.greaseManage.model.params.GreaseManageParam">

--
Gitblit v1.9.3