From 25835dde83a66dcf135226134fe9f70a2c3bb289 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 10 十二月 2024 18:07:51 +0800
Subject: [PATCH] 镜架管理

---
 manage/src/main/resources/mapping/TSupplierMapper.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/manage/src/main/resources/mapping/TSupplierMapper.xml b/manage/src/main/resources/mapping/TSupplierMapper.xml
index 1539771..988a1dc 100644
--- a/manage/src/main/resources/mapping/TSupplierMapper.xml
+++ b/manage/src/main/resources/mapping/TSupplierMapper.xml
@@ -16,7 +16,18 @@
 
     <!-- 通用查询结果列 -->
     <sql id="Base_Column_List">
-        id, name, status, createTime, updateTime, createBy, updateBy, isDelete
+        id, `name`, status, createTime, updateTime, createBy, updateBy, isDelete
     </sql>
+    <select id="pageList" resultType="com.jilongda.manage.vo.TSupplierVO">
+        select <include refid="Base_Column_List"></include>
+        from t_supplier
+        <where>
+            <if test="query.name != null and query.name != ''">
+                and `name` like  concat('%',#{query.name},'%')
+            </if>
+            AND isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()}
+        </where>
+        ORDER BY createTime DESC
+    </select>
 
 </mapper>

--
Gitblit v1.7.1