@@ -214,6 +214,8 @@ public class CockpitStats implements Serializable { | |||||
private Integer produceComponentNum = 0; | private Integer produceComponentNum = 0; | ||||
@ApiModelProperty("产出-大脑要素") | @ApiModelProperty("产出-大脑要素") | ||||
private Integer produceBrainElementsNum = 0; | private Integer produceBrainElementsNum = 0; | ||||
@ApiModelProperty("产出-大脑要素 模型数") | |||||
private Integer produceBrainModelNum = 0; | |||||
@ApiModelProperty("绩效-项目总数量") | @ApiModelProperty("绩效-项目总数量") | ||||
private Integer performanceTotal = 0; | private Integer performanceTotal = 0; | ||||
@@ -254,4 +256,7 @@ public class CockpitStats implements Serializable { | |||||
@ApiModelProperty("绩效-top5名称") | @ApiModelProperty("绩效-top5名称") | ||||
private String performanceTop5Name; | private String performanceTop5Name; | ||||
@ApiModelProperty("数据质量") | |||||
private BigDecimal dataQuality; | |||||
} | } |
@@ -1707,15 +1707,16 @@ public class GovProjectCollectionManage { | |||||
log.error("转换PDF文件出错" + e); | log.error("转换PDF文件出错" + e); | ||||
} | } | ||||
if(Objects.isNull(oldFiled)){ | |||||
return Boolean.FALSE; | |||||
if(StringUtils.isBlank(oldFiled)){ | |||||
return Boolean.TRUE; | |||||
} | } | ||||
if(!oldFiled.equals(field)){ | |||||
return Boolean.TRUE; | |||||
//如果一模一样 就不用上传了 | |||||
if(oldFiled.equals(field)){ | |||||
return Boolean.FALSE; | |||||
} | } | ||||
return Boolean.FALSE; | |||||
return Boolean.TRUE; | |||||
} | } | ||||
/** | /** | ||||
@@ -649,7 +649,8 @@ public class CockpitStatsStatisticsTask { | |||||
return transactionAmount.doubleValue(); | return transactionAmount.doubleValue(); | ||||
}).sum(); | }).sum(); | ||||
Double approvalAmountContractGov = procures.stream().mapToDouble(p -> { | Double approvalAmountContractGov = procures.stream().mapToDouble(p -> { | ||||
BigDecimal purchaseAmount = Objects.nonNull(p.getBaseProjPurchaseAmount()) ? p.getBaseProjPurchaseAmount() : BigDecimal.ZERO; | |||||
BigDecimal purchaseAmount = Objects.nonNull(p.getBaseProjPurchaseAmount()) ? | |||||
p.getBaseProjPurchaseAmount() : BigDecimal.ZERO; | |||||
return purchaseAmount.doubleValue(); | return purchaseAmount.doubleValue(); | ||||
}).sum(); | }).sum(); | ||||
BigDecimal approvalAmountContractTotal = BigDecimal.valueOf(approvalAmountContract).add(BigDecimal.valueOf(approvalAmountContractGov)); | BigDecimal approvalAmountContractTotal = BigDecimal.valueOf(approvalAmountContract).add(BigDecimal.valueOf(approvalAmountContractGov)); | ||||