From 9d2d63ee09e8bcf494fc3fd14a48d82731fac9ef Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期三, 24 四月 2024 09:14:38 +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..676e80a 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 < #{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 < #{end})
+ <if test="matnr != null and matnr !=''">
+ and matnr = #{matnr}
+ </if>
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1