From e9f4a368fd3845a38eb54d3d18d77e96e5767b61 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 05 九月 2023 10:47:22 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/MatMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index 8f6125d..6e2e8fb 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -48,6 +48,7 @@
<result column="store_min" property="storeMin" />
<result column="store_max_date" property="storeMaxDate" />
<result column="inout_everyday" property="inoutEveryday" />
+ <result column="mat_type" property="matType" />
</resultMap>
<select id="listByPage" resultMap="BaseResultMap">
@@ -75,6 +76,9 @@
<if test="specs != null and specs != ''">
and mm.specs like concat('%',#{specs},'%')
</if>
+ <if test="matType != null and matType != ''">
+ and mm.mat_type = #{matType}
+ </if>
ORDER BY mm.inout_everyday desc, mm.create_time DESC
</select>
--
Gitblit v1.9.1