From 8393fcecb251f759db60144bd1b78e22bb8ce006 Mon Sep 17 00:00:00 2001
From: qiezi <15576055375@163.com>
Date: Thu, 26 Sep 2024 11:17:11 +0800
Subject: [PATCH] 20240926
---
.../xujie/sys/modules/quote/entity/QuoteDetailRouting.java | 4 ++--
.../resources/mapper/quote/QuoteDetailBomTreeMapper.xml | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/xujie/sys/modules/quote/entity/QuoteDetailRouting.java b/src/main/java/com/xujie/sys/modules/quote/entity/QuoteDetailRouting.java
index d5ad382a..b016e7b6 100644
--- a/src/main/java/com/xujie/sys/modules/quote/entity/QuoteDetailRouting.java
+++ b/src/main/java/com/xujie/sys/modules/quote/entity/QuoteDetailRouting.java
@@ -54,9 +54,9 @@ public class QuoteDetailRouting {
private BigDecimal laborSetupTime;
- private Integer crewSize;
+ private BigDecimal crewSize;
- private Integer setupCrewSize;
+ private BigDecimal setupCrewSize;
private String outsideOpItem;
diff --git a/src/main/resources/mapper/quote/QuoteDetailBomTreeMapper.xml b/src/main/resources/mapper/quote/QuoteDetailBomTreeMapper.xml
index de2484a7..2e16fb9b 100644
--- a/src/main/resources/mapper/quote/QuoteDetailBomTreeMapper.xml
+++ b/src/main/resources/mapper/quote/QuoteDetailBomTreeMapper.xml
@@ -39,6 +39,7 @@
where bd.site = #{site}
and bd.part_no = #{partNo}
and bd.bu_no = #{buNo}
+ and bd.status != 'Tentative'
and bh.eff_phase_out_date is null
@@ -116,14 +117,15 @@
bom.alternative_no,
p.part_desc
from plm_bom_detail bom
- left join part p on bom.part_no = p.part_no and bom.site = p.site
+ left join part p on bom.part_no = p.part_no and bom.site = p.site
where bom.site = #{site}
and bom.part_no = #{partNo}
and bom.bu_no = #{buNo}
+ and bom.status != 'Tentative'
and bom.bom_type = #{bomType}
- and bom.eng_chg_level = #{engChgLevel}
+ and bom.eng_chg_level = #{engChgLevel}
order by bom.alternative_no