From 96d5b515bc4fcea7ffa86f5182f7c86dbc7bda64 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 22 一月 2026 13:45:19 +0800
Subject: [PATCH] 清除三个月之前的接口日志

---
 src/main/resources/mapper/ViewInOutMapper.xml |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/ViewInOutMapper.xml b/src/main/resources/mapper/ViewInOutMapper.xml
index 8152776..64694b1 100644
--- a/src/main/resources/mapper/ViewInOutMapper.xml
+++ b/src/main/resources/mapper/ViewInOutMapper.xml
@@ -19,9 +19,22 @@
 			]]>			
 		</if>
 </sql>
+	<resultMap id="ViewInOutMap" type="com.zy.asrs.entity.ViewInOutBean">
 
+		<result column="ymd" property="ymd"/>
+		<result column="source_sta_no" property="source_sta_no"/>
+
+		<result column="sto_qty" property="sto_qty"/>
+		<result column="ret_qty" property="ret_qty"/>
+		<result column="total_qty" property="total_qty"/>
+
+		<!-- 鏌ヨ鏉′欢瀛楁锛堜竴鑸笉浠� SQL 杩斿洖锛屼篃鍐欎笂涓嶅奖鍝嶏級 -->
+		<result column="begin_date" property="begin_date"/>
+		<result column="end_date" property="end_date"/>
+
+	</resultMap>
 <!-- 鍒嗛〉鏌ヨ鎵�鏈変俊鎭� -->
-<select id="queryViewInOutList" parameterType="com.zy.asrs.entity.ViewInOutBean" resultType="com.zy.asrs.entity.ViewInOutBean">
+<select id="queryViewInOutList" parameterType="com.zy.asrs.entity.ViewInOutBean" resultMap="ViewInOutMap">
 select * from ( 
 select *,ROW_NUMBER() OVER(Order by ymd desc) as rowid
  from asr_sta_inout_view

--
Gitblit v1.9.1