Parcourir la source

debug 是否是 上级条线主管单位 审批

master
PoffyZhang il y a 1 an
Parent
révision
87baf79090
1 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. +5
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java

+ 5
- 4
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java Voir le fichier

@@ -478,13 +478,14 @@ public class ProjectLibManage {
.eq(Project::getProjectCode,project.getProjectCode()));

//采取批量删除 批量添加的方式 批量删除建设方案申报后的应用信息
List<Long> projectIdList = projectService.list(Wrappers.lambdaQuery(Project.class)
List<String> projectCodeList = projectService.list(Wrappers.lambdaQuery(Project.class)
.eq(Project::getProjectCode, project.getProjectCode())
.eq(Project::getIsConstruct, Boolean.TRUE)).stream()
.map(Project::getId).collect(Collectors.toList());
.eq(Project::getIsConstruct, isConstruct)).stream()
.map(Project::getProjectCode).collect(Collectors.toList());
projectApplicationService.remove(Wrappers.lambdaQuery(ProjectApplication.class)
.eq(ProjectApplication::getProjectCode,project.getProjectCode())
.in(CollUtil.isNotEmpty(projectIdList),ProjectApplication::getProjectId,projectIdList));
.in(CollUtil.isNotEmpty(projectCodeList),ProjectApplication::getProjectCode,projectCodeList)
.eq(ProjectApplication::getIsConstruct,isConstruct));

//app
List<ProjectApplicationDTO> applicationList = projecDto.getApplicationList();


Chargement…
Annuler
Enregistrer