报价结构化

This commit is contained in:
yss
2023-11-24 14:55:06 +08:00
parent ea1bc72b8a
commit f9691861da
3 changed files with 35 additions and 35 deletions

View File

@ -12,6 +12,7 @@ import lombok.experimental.Accessors;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
@ -263,9 +264,6 @@ public class ProjBaseInfoVO{
@ApiModelProperty(value = "谈判目标") @ApiModelProperty(value = "谈判目标")
private BigDecimal negotiationObjectives; private BigDecimal negotiationObjectives;
@ApiModelProperty(value = "最高限价")
private BigDecimal priceCeiling;
@ApiModelProperty(value = "标包划分") @ApiModelProperty(value = "标包划分")
private String packageDivision; private String packageDivision;
@ -362,4 +360,30 @@ public class ProjBaseInfoVO{
@ApiModelProperty(value = "附件列表") @ApiModelProperty(value = "附件列表")
private List<BaseFileNoPageVO> baseFileNoPageVOList; private List<BaseFileNoPageVO> baseFileNoPageVOList;
@ApiModelProperty(value = "最高限价")
private BigDecimal priceCeiling;
@ApiModelProperty(value = "最高限价说明")
private String priceCeilingExplain;
@ApiModelProperty(value = "是否启用结构化报价 0否1是")
private String isStructureQuote;
@ApiModelProperty(value = "结构化报价模型 001普通报价模型")
private String structureQuoteModel;
@ApiModelProperty(value = "结构化报价限价类型 001总价限制002单价+总价限制")
private String structureQuoteLimitType;
@ApiModelProperty(value = "中标/中选人数量是否明确 0否1是")
private String bidNumberIsDefinite;
@ApiModelProperty(value = "中标/中选分配比例")
private List<ProjBidRatioInfoVO> projBidRatioInfoVoList = new ArrayList<>();
@ApiModelProperty(value = "中标/中选人数量")
private Integer bidDefiniteNumber;
} }

View File

@ -168,30 +168,6 @@ public class PurpBaseInfoVO {
@ApiModelProperty(value = "附件列表") @ApiModelProperty(value = "附件列表")
private List<BaseFileNoPageVO> baseFileVOList; private List<BaseFileNoPageVO> baseFileVOList;
@ApiModelProperty(value = "最高限价")
private BigDecimal priceCeiling;
@ApiModelProperty(value = "最高限价说明")
private String priceCeilingExplain;
@ApiModelProperty(value = "是否启用结构化报价 0否1是")
private String isStructureQuote;
@ApiModelProperty(value = "结构化报价模型 001普通报价模型")
private String structureQuoteModel;
@ApiModelProperty(value = "结构化报价限价类型 001总价限制002单价+总价限制")
private String structureQuoteLimitType;
@ApiModelProperty(value = "中标/中选人数量是否明确 0否1是")
private String bidNumberIsDefinite;
@ApiModelProperty(value = "中标/中选分配比例")
private List<ProjBidRatioInfoVO> projBidRatioInfoVoList = new ArrayList<>();
@ApiModelProperty(value = "中标/中选人数量")
private Integer bidDefiniteNumber;
@ApiModelProperty(value = "采购内容") @ApiModelProperty(value = "采购内容")
private List<PurpMaterialVO> purpMaterialVOList; private List<PurpMaterialVO> purpMaterialVOList;

View File

@ -799,22 +799,22 @@ public class ProjectRecordServiceImpl extends BaseServiceImpl<ProjectRecordMappe
//评价方法 //评价方法
section.setEvalMethodDict(EbpProjectCommonUtil.EVAL_METHOD_MAP.get(projBaseInfoVO.getScoreType())); section.setEvalMethodDict(EbpProjectCommonUtil.EVAL_METHOD_MAP.get(projBaseInfoVO.getScoreType()));
//最高限价 //最高限价
section.setPriceCeiling(purpBaseInfoVo.getPriceCeiling()); section.setPriceCeiling(projBaseInfoVO.getPriceCeiling());
//最高限价说明 //最高限价说明
section.setPriceCeilingExplain(purpBaseInfoVo.getPriceCeilingExplain()); section.setPriceCeilingExplain(projBaseInfoVO.getPriceCeilingExplain());
//是否启用结构化报价 0否1是 //是否启用结构化报价 0否1是
section.setIsStructureQuote(purpBaseInfoVo.getIsStructureQuote()); section.setIsStructureQuote(projBaseInfoVO.getIsStructureQuote());
//结构化报价模型 001普通报价模型 //结构化报价模型 001普通报价模型
section.setStructureQuoteModel(purpBaseInfoVo.getStructureQuoteModel()); section.setStructureQuoteModel(projBaseInfoVO.getStructureQuoteModel());
//结构化报价限价类型 001总价限制002单价+总价限制 //结构化报价限价类型 001总价限制002单价+总价限制
section.setStructureQuoteLimitType(purpBaseInfoVo.getStructureQuoteLimitType()); section.setStructureQuoteLimitType(projBaseInfoVO.getStructureQuoteLimitType());
//中标/中选人数量是否明确 0否1是 //中标/中选人数量是否明确 0否1是
section.setBidNumberIsDefinite(purpBaseInfoVo.getBidNumberIsDefinite()); section.setBidNumberIsDefinite(projBaseInfoVO.getBidNumberIsDefinite());
//中标/中选人数量 //中标/中选人数量
section.setBidDefiniteNumber(purpBaseInfoVo.getBidDefiniteNumber()); section.setBidDefiniteNumber(projBaseInfoVO.getBidDefiniteNumber());
//中标/中选分配比例 //中标/中选分配比例
bidRatioList.addAll(assembleBidRatio(record.getId(),section.getId(),purpBaseInfoVo.getProjBidRatioInfoVoList())); bidRatioList.addAll(assembleBidRatio(record.getId(),section.getId(),projBaseInfoVO.getProjBidRatioInfoVoList()));
//物资 //物资
section.setMaterialList(assembleMaterial(record.getId(),section.getId(),purpBaseInfoVo.getPurpMaterialVOList())); section.setMaterialList(assembleMaterial(record.getId(),section.getId(),purpBaseInfoVo.getPurpMaterialVOList()));
materialList.addAll(section.getMaterialList()); materialList.addAll(section.getMaterialList());