From 5cb362d364fa8582b2090e0d81585f4a7e9f19a1 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 06 二月 2026 13:33:46 +0800
Subject: [PATCH] Merge branch 'dev_New' into jtwy
---
src/main/resources/mapper/production/ProductionProductInputMapper.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductionProductInputMapper.xml b/src/main/resources/mapper/production/ProductionProductInputMapper.xml
index a885977..a6998e3 100644
--- a/src/main/resources/mapper/production/ProductionProductInputMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductInputMapper.xml
@@ -15,6 +15,7 @@
pm.model as model,
ppm.product_no as productNo,
p.product_name,
+ pm.drawing_number,
pm.unit
from
production_product_input ppi
@@ -35,5 +36,19 @@
<foreach collection="productMainIds" item="id" open="(" separator="," close=")">
#{id}
</foreach>
+
</delete>
+
+ <select id="selectInputStats" resultType="java.util.Map">
+ SELECT
+ DATE_FORMAT(create_time, '%Y-%m-%d') as date,
+ SUM(quantity) as quantity
+ FROM
+ production_product_input
+ WHERE
+ create_time >= #{startDate}
+ AND create_time <= #{endDate}
+ GROUP BY
+ DATE_FORMAT(create_time, '%Y-%m-%d')
+ </select>
</mapper>
--
Gitblit v1.9.3