From 76fe27b7b098cda720198aaa157edee4482351b8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 12 十一月 2025 13:08:16 +0800
Subject: [PATCH] 成品判料改待判

---
 src/main/resources/mapper/WrkDetlLogMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/WrkDetlLogMapper.xml b/src/main/resources/mapper/WrkDetlLogMapper.xml
index bef4275..14db210 100644
--- a/src/main/resources/mapper/WrkDetlLogMapper.xml
+++ b/src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -45,6 +45,8 @@
         <result column="appe_user" property="appeUser"/>
         <result column="appe_time" property="appeTime"/>
         <result column="memo" property="memo"/>
+        <result column="roll_up" property="rollUp" />
+
     </resultMap>
 
     <sql id="batchSeq">
@@ -65,6 +67,9 @@
         <if test="batch != null and batch != ''">
             and a.batch like concat('%',#{batch},'%')
         </if>
+        <if test="model != null and model != ''">
+            and a.model like concat('%',#{model},'%')
+        </if>
         <if test="matnr != null and matnr != ''">
             and a.matnr like concat('%',#{matnr},'%')
         </if>
@@ -74,6 +79,12 @@
         <if test="specs != null and specs != ''">
             and a.specs like concat('%',#{specs},'%')
         </if>
+        <if test="unit != null and unit != ''">
+            and a.unit like concat('%',#{unit},'%')
+        </if>
+        <if test="brand != null and brand != ''">
+            and a.brand like concat('%',#{brand},'%')
+        </if>
     </sql>
 
     <select id="selectWrkDetlLogs" resultMap="BaseResultMap">

--
Gitblit v1.9.1