From f9129a94e2b579cbfc70086458f4b05096e26677 Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期一, 28 七月 2025 10:12:22 +0800
Subject: [PATCH] 修复工作明细历史搜索条件精确匹配,字段映射

---
 src/main/resources/mapper/WrkDetlLogMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/WrkDetlLogMapper.xml b/src/main/resources/mapper/WrkDetlLogMapper.xml
index a1bda51..4699a11 100644
--- a/src/main/resources/mapper/WrkDetlLogMapper.xml
+++ b/src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -29,6 +29,7 @@
         <result column="safe_qty" property="safeQty"/>
         <result column="weight" property="weight"/>
         <result column="length" property="length"/>
+        <result column="man_length" property="manLength"/>
         <result column="volume" property="volume"/>
         <result column="three_code" property="threeCode"/>
         <result column="supp" property="supp"/>
@@ -69,10 +70,10 @@
             and a.maktx like concat('%',#{maktx},'%')
         </if>
         <if test="model != null and model != ''">
-            and a.model like concat('%',#{model},'%')
+            and a.model = #{model}
         </if>
         <if test="volume != null and volume != ''">
-            and a.volume like concat('%',#{volume},'%')
+            and a.volume = #{volume}
         </if>
         <if test="zpallet != null and zpallet != ''">
             and a.zpallet like concat('%',#{zpallet},'%')

--
Gitblit v1.9.1