1.异常数据界面业务调整
2.技术监督增加仿真治理方案
This commit is contained in:
@@ -23,6 +23,7 @@ public class UserReportNormalParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(value = "保存1,提交审批2")
|
||||
private String saveOrCheckflag;
|
||||
/**
|
||||
@@ -40,6 +41,11 @@ public class UserReportNormalParam extends BaseParam {
|
||||
*/
|
||||
private String reportUrl;
|
||||
|
||||
/**
|
||||
* 治理方案仿真校验评估报告
|
||||
*/
|
||||
private String simulationReportUrl;
|
||||
|
||||
/**
|
||||
* 1:审批中;2:审批通过;3:审批不通过;4:已取消
|
||||
*/
|
||||
|
||||
@@ -37,6 +37,12 @@ public class UserReportNormalPO extends BaseEntity {
|
||||
*/
|
||||
private String reportUrl;
|
||||
|
||||
/**
|
||||
* 治理方案仿真校验评估报告
|
||||
*/
|
||||
private String simulationReportUrl;
|
||||
|
||||
|
||||
private String processInstanceId;
|
||||
|
||||
private String historyInstanceId;
|
||||
|
||||
@@ -209,6 +209,9 @@ public class UserReportVO {
|
||||
@ApiModelProperty(value = "入网评估报告和治理报告的文件路径名")
|
||||
private String otherReport;
|
||||
|
||||
@ApiModelProperty(value = "仿真治理评估告")
|
||||
private String simulationReport;
|
||||
|
||||
private String userReportId;
|
||||
}
|
||||
|
||||
@@ -221,5 +224,8 @@ public class UserReportVO {
|
||||
|
||||
@ApiModelProperty(value = "治理评估告")
|
||||
private List<String> governReport;
|
||||
|
||||
@ApiModelProperty(value = "仿真治理评估告")
|
||||
private List<String> simulationReport;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,6 @@ public class UserReportNormalServiceImpl extends ServiceImpl<UserReportNormalMap
|
||||
userReportNormalPO.setState(DataStateEnum.ENABLE.getCode());
|
||||
if (Objects.equals(userReportNormalParam.getSaveOrCheckflag(), "1")) {
|
||||
userReportNormalPO.setStatus(BpmTaskStatusEnum.WAIT.getStatus());
|
||||
|
||||
} else {
|
||||
userReportNormalPO.setStatus(BpmTaskStatusEnum.RUNNING.getStatus());
|
||||
|
||||
@@ -154,6 +153,7 @@ public class UserReportNormalServiceImpl extends ServiceImpl<UserReportNormalMap
|
||||
vo.setId(item.getId());
|
||||
vo.setUserReportId(item.getUserReportId());
|
||||
vo.setOtherReport(item.getReportUrl());
|
||||
vo.setSimulationReport(item.getSimulationReportUrl());
|
||||
vo.setProcessInstanceId(item.getProcessInstanceId());
|
||||
vo.setCreateTime(item.getCreateTime());
|
||||
vo.setStatus(item.getStatus());
|
||||
@@ -175,6 +175,7 @@ public class UserReportNormalServiceImpl extends ServiceImpl<UserReportNormalMap
|
||||
BeanUtil.copyProperties(userReportPO, vo);
|
||||
BeanUtil.copyProperties(userReportNormalPO, vo);
|
||||
vo.setOtherReport(userReportNormalPO.getReportUrl());
|
||||
vo.setSimulationReport(userReportNormalPO.getSimulationReportUrl());
|
||||
return vo;
|
||||
}
|
||||
return null;
|
||||
@@ -278,8 +279,10 @@ public class UserReportNormalServiceImpl extends ServiceImpl<UserReportNormalMap
|
||||
);
|
||||
Optional<String> netInReport = list.stream().filter(x -> 0 == x.getType()).map(UserReportNormalPO::getReportUrl).findFirst();
|
||||
Optional<String> governReport = list.stream().filter(x -> 1 == x.getType()).map(UserReportNormalPO::getReportUrl).findFirst();
|
||||
Optional<String> simulationReport = list.stream().filter(x -> 1 == x.getType()).map(UserReportNormalPO::getSimulationReportUrl).findFirst();
|
||||
userReportVO.setNetInReport(Collections.singletonList(netInReport.orElse(null)));
|
||||
userReportVO.setGovernReport(Collections.singletonList(governReport.orElse(null)));
|
||||
userReportVO.setSimulationReport(Collections.singletonList(simulationReport.orElse(null)));
|
||||
return userReportVO;
|
||||
}
|
||||
|
||||
|
||||
@@ -420,8 +420,10 @@ public class UserReportPOServiceImpl extends ServiceImpl<UserReportPOMapper, Use
|
||||
);
|
||||
Optional<String> netInReport = list.stream().filter(x -> 0 == x.getType()).map(UserReportNormalPO::getReportUrl).findFirst();
|
||||
Optional<String> governReport = list.stream().filter(x -> 1 == x.getType()).map(UserReportNormalPO::getReportUrl).findFirst();
|
||||
Optional<String> simulationReport = list.stream().filter(x -> 1 == x.getType()).map(UserReportNormalPO::getSimulationReportUrl).findFirst();
|
||||
userReportVO.setNetInReport(Collections.singletonList(netInReport.orElse(null)));
|
||||
userReportVO.setGovernReport(Collections.singletonList(governReport.orElse(null)));
|
||||
userReportVO.setSimulationReport(Collections.singletonList(simulationReport.orElse(null)));
|
||||
return userReportVO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user