Quellcode durchsuchen

fix:

1. 项目详情查询关联系统修改;
master
WendyYang vor 1 Tag
Ursprung
Commit
8bb3f9e049
2 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. +4
    -4
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectLibManage.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java

+ 4
- 4
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/manage/ProjectLibManage.java Datei anzeigen

@@ -677,12 +677,12 @@ public class ProjectLibManage {
/**
* 获取政务信息系统改造情况
*
* @param projectId \
* @param projectCode \
* @return \
*/
private List<GovSystemReplaceInfoDTO> getGovSystemReplaceInfos(Long projectId, String upgradeContent) {
private List<GovSystemReplaceInfoDTO> getGovSystemReplaceInfos(String projectCode, String upgradeContent) {
Wrapper<ProjectGovSystemReplaceInfos> query = Wrappers.lambdaQuery(ProjectGovSystemReplaceInfos.class)
.eq(ProjectGovSystemReplaceInfos::getProjectId, projectId)
.eq(ProjectGovSystemReplaceInfos::getProjectCode, projectCode)
.orderByAsc(ProjectGovSystemReplaceInfos::getId)
.orderByAsc(ProjectGovSystemReplaceInfos::getBatchNo);
List<ProjectGovSystemReplaceInfos> govSystemReplaceInfos = systemReplaceInfosService.list(query);
@@ -747,7 +747,7 @@ public class ProjectLibManage {
Map<Long, List<ProjectCoreBusinessIndicators>> coreBizMap = CollUtils.group(coreBizs, ProjectCoreBusinessIndicators::getApplicationId);
retProjectDetail.setProjectApplications(CollUtils.convert(applications, app -> ProjectManageUtil.to(app, coreBizMap)));
}
retProjectDetail.setSystemReplaceInfos(getGovSystemReplaceInfos(project.getId(), project.getIterativeUpgradeContent()));
retProjectDetail.setSystemReplaceInfos(getGovSystemReplaceInfos(project.getProjectCode(), project.getIterativeUpgradeContent()));
//审批信息
if (StrUtils.isNotBlank(project.getInstCode())) {
ProcessDetailReq req = new ProcessDetailReq();


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java Datei anzeigen

@@ -393,7 +393,7 @@ public class WorkbenchManage {
List<ProjectStatusChange> projectStatusChanges = projectStatusChangeService.list(pscQuery);
projectStatusChangeMap.putAll(CollUtils.group(projectStatusChanges, ProjectStatusChange::getProjectCode));
currStat.setStoppedCount(stoppedProjectCount(projectStatusChangeMap, allProjectCodes));
Pair<Integer, Integer> replaceSystemCount = countReplaceSystemByProjectIds(allProjectIds);
Pair<Integer, Integer> replaceSystemCount = countReplaceSystemByProjectCodes(allProjectCodes);
currStat.setSourceCount(replaceSystemCount.getKey());
currStat.setTargetCount(replaceSystemCount.getValue());
}


Laden…
Abbrechen
Speichern