|
|
@@ -21,6 +21,7 @@ import com.hz.pm.api.projectdeclared.service.IPurchaseService; |
|
|
|
import com.hz.pm.api.projectdeclared.utils.ProjectIdCodeCacheUtil; |
|
|
|
import com.hz.pm.api.projectlib.entity.ProjectGovSystemReplaceInfos; |
|
|
|
import com.hz.pm.api.projectlib.entity.PurchaseStatusChange; |
|
|
|
import com.hz.pm.api.projectlib.helper.ProjectManageUtil; |
|
|
|
import com.hz.pm.api.projectlib.manage.ProjectLibManage; |
|
|
|
import com.hz.pm.api.projectlib.model.entity.Project; |
|
|
|
import com.hz.pm.api.projectlib.model.entity.ProjectStatusChange; |
|
|
@@ -518,10 +519,6 @@ public class WorkbenchManage { |
|
|
|
Long unitId = Optional.ofNullable(req.getUnitId()).orElseGet(LoginUserUtil::getMhUnitId); |
|
|
|
List<Long> viewUnitIds = mhUnitCache.getViewChildIdsRecursion(unitId); |
|
|
|
LambdaQueryWrapper<Project> query = Wrappers.lambdaQuery(Project.class) |
|
|
|
.select(Project::getId, Project::getStage, Project::getStatus, Project::getProjectCode, |
|
|
|
Project::getBuildOrgCode, Project::getBuildOrgName, Project::getApprovalAmount, |
|
|
|
Project::getCreateOn, Project::getProjectName, Project::getProjectYear, |
|
|
|
Project::getDeclareAmount, Project::getReviewAmount) |
|
|
|
.eq(req.getProjectYear() != null, Project::getProjectYear, req.getProjectYear()) |
|
|
|
.like(StrUtil.isNotBlank(req.getBuildOrg()), Project::getBuildOrgName, req.getBuildOrg()) |
|
|
|
.like(StrUtil.isNotBlank(req.getProjectName()), Project::getProjectName, req.getProjectName()) |
|
|
@@ -536,6 +533,7 @@ public class WorkbenchManage { |
|
|
|
.ne(Project::getStage, ProjectStatus.STOPPED.getCode()) |
|
|
|
.eq(Project::getNewest, Boolean.TRUE) |
|
|
|
.orderByDesc(Project::getUpdateOn); |
|
|
|
ProjectManageUtil.projectBaseQuery(query); |
|
|
|
projectQueryByProjectStatusChange(query, ProjectStateChangeEvent.PROJECT_APPLICATION_SUBMIT); |
|
|
|
switch (req.getProcessNode()) { |
|
|
|
case PROJECT_DECLARED: |
|
|
|