联动报价-第二版-根据报价模型填充标段报价类型
This commit is contained in:
@ -856,6 +856,18 @@ public class ProjectRecordServiceImpl extends BaseServiceImpl<ProjectRecordMappe
|
|||||||
if(projBaseInfoVO.getQuoteModelVOList()!=null && !projBaseInfoVO.getQuoteModelVOList().isEmpty()){
|
if(projBaseInfoVO.getQuoteModelVOList()!=null && !projBaseInfoVO.getQuoteModelVOList().isEmpty()){
|
||||||
quoteModelMaterialService.saveOrUpdate(new QuoteModelMaterial().setId(section.getId()).setModelMaterial(projBaseInfoVO.getQuoteModelVOList())
|
quoteModelMaterialService.saveOrUpdate(new QuoteModelMaterial().setId(section.getId()).setModelMaterial(projBaseInfoVO.getQuoteModelVOList())
|
||||||
.setProjectId(record.getId()).setSectionId(section.getId()).setProjectPlanId(section.getProjectPlanId()));
|
.setProjectId(record.getId()).setSectionId(section.getId()).setProjectPlanId(section.getProjectPlanId()));
|
||||||
|
ProjStructureQuoteModelVO model=projBaseInfoVO.getQuoteModelVOList().get(0);
|
||||||
|
String quotationMethodDict=null;
|
||||||
|
if(StringUtils.isNotBlank(model.getStructureQuoteModel())){
|
||||||
|
if(model.getStructureQuoteModel().equals("001") || model.getStructureQuoteModel().equals("002")){
|
||||||
|
quotationMethodDict="quotation_method_1";
|
||||||
|
}else if(model.getStructureQuoteModel().equals("003") || model.getStructureQuoteModel().equals("004")){
|
||||||
|
quotationMethodDict="quotation_method_2";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(quotationMethodDict!=null){
|
||||||
|
section.setQuotationMethodDict(quotationMethodDict);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(projBaseInfoVO.getTemplateItemList()!=null){
|
if(projBaseInfoVO.getTemplateItemList()!=null){
|
||||||
|
Reference in New Issue
Block a user