瀏覽代碼

延期 优化

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
7dc5d3a2ee
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/DelayedApplyManage.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/DelayedApplyManage.java 查看文件

@@ -312,7 +312,8 @@ public class DelayedApplyManage {
public List<DelayedApplyVO> delayList(Long projectId) {
List<Long> allVersionProjectId = projectService.getAllVersionProjectId(projectId);
List<ProjectDelayApply> delays = projectDelayApplyService.list(Wrappers.lambdaQuery(ProjectDelayApply.class)
.in(ProjectDelayApply::getProjectId, allVersionProjectId));
.in(ProjectDelayApply::getProjectId, allVersionProjectId)
.eq(ProjectDelayApply::getSuccess, Boolean.TRUE));

if(CollUtil.isEmpty(delays)){
return Collections.emptyList();


Loading…
取消
儲存