From 1a987c661d60c77b258a3be42c09a3fd2ba3ae06 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 14 八月 2023 15:34:59 +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