From e2b0ee1d7409aa136ff1a797eccee60a0c54105b Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 18 Nov 2025 10:44:23 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-18=20=E6=8A=A5=E4=BB=B7=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/spring/modules/quote/entity/Quote.java | 9 +++++++++ .../resources/mapper/quote/QuoteGroupDetailMapper.xml | 6 ++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/spring/modules/quote/entity/Quote.java b/src/main/java/com/spring/modules/quote/entity/Quote.java index 64bd62b9..615a1be9 100644 --- a/src/main/java/com/spring/modules/quote/entity/Quote.java +++ b/src/main/java/com/spring/modules/quote/entity/Quote.java @@ -188,4 +188,13 @@ public class Quote extends QueryPage { @TableField(exist = false) private String searchPartNo; + + @TableField(exist = false) + private String plmPartNo; + + @TableField(exist = false) + private String ifsPartNo; + + @TableField(exist = false) + private String partDesc; } diff --git a/src/main/resources/mapper/quote/QuoteGroupDetailMapper.xml b/src/main/resources/mapper/quote/QuoteGroupDetailMapper.xml index 08e5752d..1302400b 100644 --- a/src/main/resources/mapper/quote/QuoteGroupDetailMapper.xml +++ b/src/main/resources/mapper/quote/QuoteGroupDetailMapper.xml @@ -84,11 +84,9 @@ qd.current_quote_detail_item_no, pp.ifs_part_no, convert(decimal(20,6),(case when exchange_rate2 = 0 or exchange_rate2 is null then 0 else unit_price/exchange_rate2 end)) as unitPriceRate - from plm_quote_group_detail qd - left join plm_quote q on qd.quote_id = q.id - left join part pp - on qd.part_no = pp.part_no and qd.site = pp.site + left join plm_quote q on qd.quote_id = q.id + left join part pp on qd.part_no = pp.part_no and qd.site = pp.site and qd.id = #{id}