diff --git a/src/main/java/com/spring/modules/quotation/entity/QuotationInformationEntity.java b/src/main/java/com/spring/modules/quotation/entity/QuotationInformationEntity.java
index 432d3339..09072d14 100644
--- a/src/main/java/com/spring/modules/quotation/entity/QuotationInformationEntity.java
+++ b/src/main/java/com/spring/modules/quotation/entity/QuotationInformationEntity.java
@@ -22,10 +22,13 @@ public class QuotationInformationEntity extends QueryPage implements Serializabl
/**
* 工厂
**/
+
+ @TableField(updateStrategy = FieldStrategy.NEVER)
private String site;
/**
* 报价单号
**/
+ @TableField(updateStrategy = FieldStrategy.NEVER)
private String quotationNo;
/**
* 客户编码
diff --git a/src/main/resources/mapper/quotation/QuotationDetailMapper.xml b/src/main/resources/mapper/quotation/QuotationDetailMapper.xml
index 0bd93504..14f8028f 100644
--- a/src/main/resources/mapper/quotation/QuotationDetailMapper.xml
+++ b/src/main/resources/mapper/quotation/QuotationDetailMapper.xml
@@ -250,8 +250,8 @@
code_desc,
function_type
FROM plm_properties_model_header
- WHERE function_type = 'IP'
- AND code_no = 'I002'
+ WHERE function_type = 'BJ'
+ AND code_no = 'BJ001'
AND site = #{site}
@@ -261,8 +261,8 @@
select concat('BJ',#{quotationDetailId}),ppmd.site,ppmd.code_no,1,ppmh.code_desc,seq_no,properties_item_no,'','',ppmd.function_type
from plm_properties_model_detail ppmd
left join plm_properties_model_header ppmh on ppmh.function_type = ppmd.function_type and ppmh.code_no = ppmd.code_no and ppmh.site = ppmd.site
- WHERE ppmd.function_type = 'IP'
- AND ppmd.code_no = 'I002'
+ WHERE ppmd.function_type = 'BJ'
+ AND ppmd.code_no = 'BJ001'
AND ppmd.site = #{site}
diff --git a/src/main/resources/mapper/quotation/QuoteDetailPropertiesMapper.xml b/src/main/resources/mapper/quotation/QuoteDetailPropertiesMapper.xml
index 2756fb44..a7a5785c 100644
--- a/src/main/resources/mapper/quotation/QuoteDetailPropertiesMapper.xml
+++ b/src/main/resources/mapper/quotation/QuoteDetailPropertiesMapper.xml
@@ -168,21 +168,12 @@
resultType="com.spring.modules.base.entity.PartSubPropertiesValueHeader">
select top 1 PartNo, Site, CodeNo, SubCodeSeqNo, SubCodeDesc, RecordType
from PartSubPropertiesValueHeader
- where CodeNo = 'I002'
- and SubCodeSeqNo = 1
- and RecordType = 'IP'
- and PartNo = concat('BJ', #{quotationDetailId})
- and Site = #{site}
+ where PartNo = concat('BJ', #{quotationDetailId})
delete from PartSubPropertiesValue
where PartNo = concat('BJ', #{quotationDetailId})
- and Site = #{site}
- and RecordType = #{recordType}
- and ItemNo = #{orderNo}
- and CodeNo = #{codeNo}
- and SubCodeSeqNo = #{subCodeSeqNo}
@@ -193,7 +184,7 @@