From f3ce4485cd37eb7c3bcf16fde86a7f149974c4b6 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期五, 20 三月 2026 09:51:50 +0800
Subject: [PATCH] #检查导出功能:  1.商品档案无异常  2.库存明细管理(异常)已修复  3.库存明细统计无异常  4.工作档查询维护无异常  5.工作档明细查询无异常  6.工作历史档查询无异常  7.工作明细历史档查询无异常  8.入库通知历史档无异常  9.库存移动流水记录(异常)已修复  10.机台工位绑定无异常  11.库存调整记录无异常  12.工作档维护日志(异常)已修复  13.操作日志无异常

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

diff --git a/src/main/resources/mapper/WrkMastLogMapper.xml b/src/main/resources/mapper/WrkMastLogMapper.xml
index 5f5faa4..4e6cb34 100644
--- a/src/main/resources/mapper/WrkMastLogMapper.xml
+++ b/src/main/resources/mapper/WrkMastLogMapper.xml
@@ -119,4 +119,31 @@
         <include refid="queryWhere"></include>
     </select>
 
+    <select id="inventoryFlowAll" resultType="com.zy.asrs.entity.InventoryFlowDto">
+        select
+            a.wrk_no wrkNo,
+            a.io_type ioType,
+            a.io_time ioTime,
+            a.wrk_sts wrkSts,
+            a.source_loc_no sourceLocNo,
+            a.loc_no locNo,
+            a.barcode zpallet,
+            b.matnr,
+            b.maktx,
+            b.order_no orderNo,
+            b.batch,
+            b.anfme,
+            b.modi_time modiTime,
+            b.modi_user modiUser
+        from
+            asr_wrk_mast_log a
+                inner join asr_wrk_detl_log b on
+                        a.wrk_no = b.wrk_no
+                    and a.io_time = b.io_time
+                    and a.wrk_sts in(5, 15)
+                    <include refid="queryWhere"></include>
+        order by
+            a.modi_time desc
+    </select>
+
 </mapper>

--
Gitblit v1.9.1