From be32a8ddbcbb4f6e7b707e6ef8d6c24c05a48897 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 16 六月 2023 16:02:55 +0800
Subject: [PATCH] #出入库日志修改

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

diff --git a/src/main/resources/mapper/ViewInOutMapper.xml b/src/main/resources/mapper/ViewInOutMapper.xml
index b3a938c..8152776 100644
--- a/src/main/resources/mapper/ViewInOutMapper.xml
+++ b/src/main/resources/mapper/ViewInOutMapper.xml
@@ -61,5 +61,23 @@
 	]]>
 </where>
 </select>
+    <select id="selectWorkCountInSum" resultType="java.lang.Integer">
+		SELECT SUM(anfme) FROM asr_wrkin_count_view WHERE 1=1 AND
+		(oneday > #{start}
+		AND
+		oneday &lt; #{end})
+		<if test="matnr != null and matnr !=''">
+			and matnr = #{matnr}
+		</if>
+	</select>
+	<select id="selectWorkCountOutSum" resultType="java.lang.Integer">
+		SELECT SUM(anfme) FROM asr_wrkout_count_view WHERE 1=1 AND
+		(oneday > #{start}
+		AND
+		oneday &lt; #{end})
+		<if test="matnr != null and matnr !=''">
+			and matnr = #{matnr}
+		</if>
+	</select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1