|
@@ -35,18 +35,9 @@ import com.ningdatech.pmapi.performance.model.dto.ProjectCoreBusinessDTO; |
|
|
import com.ningdatech.pmapi.performance.model.entity.ProjectCoreBusinessIndicators; |
|
|
import com.ningdatech.pmapi.performance.model.entity.ProjectCoreBusinessIndicators; |
|
|
import com.ningdatech.pmapi.performance.service.IProjectCoreBusinessIndicatorsService; |
|
|
import com.ningdatech.pmapi.performance.service.IProjectCoreBusinessIndicatorsService; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.DelayedApplyDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.DelayedApplyDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.Contract; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.PaymentPlan; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.PreInsAcceptancePerson; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.Purchase; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.vo.ContractVO; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.vo.PaymentPlanVO; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.vo.PreInsAcceptancePersonVO; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.vo.PurchaseVO; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.service.IContractService; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.service.IPaymentPlanService; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.service.IPreInsAcceptancePersonService; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.service.IPurchaseService; |
|
|
|
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.entity.*; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.model.vo.*; |
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.service.*; |
|
|
import com.ningdatech.pmapi.projectdeclared.utils.GenerateProjectCodeUtil; |
|
|
import com.ningdatech.pmapi.projectdeclared.utils.GenerateProjectCodeUtil; |
|
|
import com.ningdatech.pmapi.projectlib.constant.ProjectConstant; |
|
|
import com.ningdatech.pmapi.projectlib.constant.ProjectConstant; |
|
|
import com.ningdatech.pmapi.projectlib.enumeration.InstTypeEnum; |
|
|
import com.ningdatech.pmapi.projectlib.enumeration.InstTypeEnum; |
|
@@ -114,6 +105,8 @@ public class ProjectLibManage { |
|
|
private final ITodoService todoService; |
|
|
private final ITodoService todoService; |
|
|
private final IProjectCoreBusinessIndicatorsService projectCoreBusinessIndicatorsService; |
|
|
private final IProjectCoreBusinessIndicatorsService projectCoreBusinessIndicatorsService; |
|
|
|
|
|
|
|
|
|
|
|
private final IOperationService operationService; |
|
|
|
|
|
|
|
|
public PageVo<ProjectLibListItemVO> projectLibList(ProjectListReq req) { |
|
|
public PageVo<ProjectLibListItemVO> projectLibList(ProjectListReq req) { |
|
|
LambdaQueryWrapper<Project> query = ProjectHelper.projectQuery(req); |
|
|
LambdaQueryWrapper<Project> query = ProjectHelper.projectQuery(req); |
|
|
query.eq(Project::getNewest, Boolean.TRUE); |
|
|
query.eq(Project::getNewest, Boolean.TRUE); |
|
@@ -607,6 +600,12 @@ public class ProjectLibManage { |
|
|
contractVO.getTotalAmount())); |
|
|
contractVO.getTotalAmount())); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//查询实施信息 |
|
|
|
|
|
Operation operation = operationService.getOne(Wrappers.lambdaQuery(Operation.class) |
|
|
|
|
|
.in(Operation::getProjectId, allVersionProjectId) |
|
|
|
|
|
.orderByAsc(Operation::getCreateOn) |
|
|
|
|
|
.last(BizConst.LIMIT_1)); |
|
|
|
|
|
vo.setOperation(BeanUtil.copyProperties(operation, OperationVO.class)); |
|
|
|
|
|
|
|
|
//查询初验信息 |
|
|
//查询初验信息 |
|
|
List<PreInsAcceptancePerson> acceptancePersons = acceptancePersonService.list(Wrappers.lambdaQuery(PreInsAcceptancePerson.class) |
|
|
List<PreInsAcceptancePerson> acceptancePersons = acceptancePersonService.list(Wrappers.lambdaQuery(PreInsAcceptancePerson.class) |
|
|