公告结构化-接收中选原则数据

This commit is contained in:
yss
2023-12-28 11:34:57 +08:00
parent a6002055cf
commit 968eda374b
4 changed files with 20 additions and 4 deletions

View File

@ -581,4 +581,10 @@ public class ProjectCommonUtil {
public static final int PROJECT_ENTRUST_BACK_STATUS_0 = 0; public static final int PROJECT_ENTRUST_BACK_STATUS_0 = 0;
public static final int PROJECT_ENTRUST_BACK_STATUS_1 = 1; public static final int PROJECT_ENTRUST_BACK_STATUS_1 = 1;
/**
* 是否启用结构化报价 0否1是
*/
public static final String PROJECT_STRUCTURE_QUOTE_0 = "0";
public static final String PROJECT_STRUCTURE_QUOTE_1 = "1";
} }

View File

@ -381,7 +381,7 @@ public class ProjBaseInfoVO{
private List<ProjBidRatioInfoVO> projBidRatioInfoVOList = new ArrayList<>(); private List<ProjBidRatioInfoVO> projBidRatioInfoVOList = new ArrayList<>();
@ApiModelProperty(value = "中标/中选人数量") @ApiModelProperty(value = "中标/中选人数量")
private Integer bidDefiniteNumber; private String bidDefiniteNumber;
@ApiModelProperty(value = "份额分配/(中标/中选分配原则)") @ApiModelProperty(value = "份额分配/(中标/中选分配原则)")
private String shareAllocation; private String shareAllocation;
@ -389,5 +389,9 @@ public class ProjBaseInfoVO{
@ApiModelProperty("资格条件项列表") @ApiModelProperty("资格条件项列表")
private List<BizQualifyConditionItem> templateItemList; private List<BizQualifyConditionItem> templateItemList;
@ApiModelProperty(value = "中标/中选数量-from")
private String winFrom;
@ApiModelProperty(value = "中标/中选数量-to")
private String winTo;
} }

View File

@ -820,8 +820,14 @@ public class ProjectRecordServiceImpl extends BaseServiceImpl<ProjectRecordMappe
//中标/中选人数量是否明确 0否1是 //中标/中选人数量是否明确 0否1是
section.setBidNumberIsDefinite(projBaseInfoVO.getBidNumberIsDefinite()); section.setBidNumberIsDefinite(projBaseInfoVO.getBidNumberIsDefinite());
//中标/中选人数量 //中标/中选人数量
section.setBidDefiniteNumber(projBaseInfoVO.getBidDefiniteNumber()); //是报价结构化
//中标中选分配比例备注 if(section.getIsStructureQuote()!=null && section.getIsStructureQuote()==ProjectCommonUtil.PROJECT_STRUCTURE_QUOTE_1 ){
section.setBidDefiniteNumber(projBaseInfoVO.getBidDefiniteNumber());
}else{
//非报价结构化
section.setBidDefiniteNumber(projBaseInfoVO.getWinFrom()+(StringUtils.isNotBlank(projBaseInfoVO.getWinTo())?" - "+projBaseInfoVO.getWinTo():projBaseInfoVO.getWinTo()));
}
//中标中选分配比例备注,非结构化报价时 接收的是份额分配
section.setStructureNote(projBaseInfoVO.getShareAllocation()); section.setStructureNote(projBaseInfoVO.getShareAllocation());
//中标/中选分配比例 //中标/中选分配比例

View File

@ -268,7 +268,7 @@ public class ProjectSection extends BaseEntity implements Serializable {
private List<BidRatio> projBidRatioInfoVoList = new ArrayList<>(); private List<BidRatio> projBidRatioInfoVoList = new ArrayList<>();
@ApiModelProperty(value = "中标/中选人数量") @ApiModelProperty(value = "中标/中选人数量")
private Integer bidDefiniteNumber; private String bidDefiniteNumber;
@ApiModelProperty(value = "中标中选分配比例原则:中标/中选人数量是否明确为否时必填") @ApiModelProperty(value = "中标中选分配比例原则:中标/中选人数量是否明确为否时必填")
private String structureNote; private String structureNote;