From d3425b2d06136004dbad214e8a5a666ba9aa5da3 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期二, 15 四月 2025 16:26:05 +0800
Subject: [PATCH] 提交 部分手机后端程序
---
north-glass-erp/src/main/resources/mapper/sd/OrderProcessDetailMapper.xml | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/sd/OrderProcessDetailMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/OrderProcessDetailMapper.xml
index 4021a29..30f80d8 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderProcessDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderProcessDetailMapper.xml
@@ -95,7 +95,7 @@
select
max(a.technology_number) as rowCount,
RowNum
- from order_process_detail as a
+ from sd.order_process_detail as a
left join
(select min((@i:=@i+1)) AS RowNum,c.*
from sd.order_glass_detail as c,
@@ -164,4 +164,23 @@
and a.technology_number=#{technologyNumber}
</select>
+
+ <select id="selectShiftQuantitySv">
+ select CAST(concat(b.order_id,'/',a.order_number,'/',a.technology_number) as char ) as 'order_id',
+ c.child_width,
+ c.child_height,
+ a.completed_quantity,
+ a.breakage_quantity
+ from pp.reporting_work as b
+ left join pp.reporting_work_detail as a
+ on a.reporting_work_id = b.reporting_work_id
+ left join sd.order_glass_detail as c
+ on b.order_id = c.order_id
+ and c.order_number = a.order_number
+ and c.technology_number = a.technology_number
+ where b.reviewed_state >=0
+ and b.creator_id = #{creatorId}
+ and UNIX_TIMESTAMP(b.reporting_work_time) BETWEEN UNIX_TIMESTAMP(#{startDate}) and UNIX_TIMESTAMP(#{endDate})
+ order by b.id desc
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0