|
|
@@ -26,6 +26,7 @@ import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectConditionDTO; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.Contract; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.PaymentPlan; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.Purchase; |
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.vo.DelayedApplyVO; |
|
|
|
import com.ningdatech.pmapi.projectlib.enumeration.InstTypeEnum; |
|
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum; |
|
|
|
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeEnum; |
|
|
@@ -33,6 +34,7 @@ import com.ningdatech.pmapi.projectlib.helper.ProjectHelper; |
|
|
|
import com.ningdatech.pmapi.projectlib.manage.ProjectLibManage; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.dto.ProjectDTO; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.Project; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.ProjectDelayApply; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.ProjectInst; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.req.ProjectListReq; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.vo.ProjectLibListItemVO; |
|
|
@@ -91,6 +93,8 @@ public class DelayedApplyManage { |
|
|
|
private final IProjectInstService projectInstService; |
|
|
|
private final HistoryService historyService; |
|
|
|
|
|
|
|
private final INdProjectDelayApplyService projectDelayApplyService; |
|
|
|
|
|
|
|
/** |
|
|
|
* 延期的-项目列表 |
|
|
|
* @param req |
|
|
@@ -280,4 +284,21 @@ public class DelayedApplyManage { |
|
|
|
|
|
|
|
return instanceId; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询延期 详情 |
|
|
|
* @param projectId |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public DelayedApplyVO detailByProjectId(Long projectId) { |
|
|
|
ProjectDelayApply delayApply = projectDelayApplyService.getOne(Wrappers.lambdaQuery(ProjectDelayApply.class) |
|
|
|
.eq(ProjectDelayApply::getProjectId, projectId) |
|
|
|
.orderByDesc(ProjectDelayApply::getCreateOn) |
|
|
|
.last(BizConst.LIMIT_1)); |
|
|
|
|
|
|
|
if(Objects.isNull(delayApply)){ |
|
|
|
return null; |
|
|
|
} |
|
|
|
return BeanUtil.copyProperties(delayApply,DelayedApplyVO.class); |
|
|
|
} |
|
|
|
} |