|
|
@@ -41,18 +41,9 @@ import com.ningdatech.pmapi.portrait.model.vo.TagVO; |
|
|
|
import com.ningdatech.pmapi.portrait.service.IProjectTagService; |
|
|
|
import com.ningdatech.pmapi.portrait.service.ITagService; |
|
|
|
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.projectlib.constant.ProjectConstant; |
|
|
|
import com.ningdatech.pmapi.projectlib.enumeration.InstTypeEnum; |
|
|
@@ -123,6 +114,8 @@ public class ProjectLibManage { |
|
|
|
private final IProjectTagService projectTagService; |
|
|
|
private final ITagService tagService; |
|
|
|
|
|
|
|
private final IOperationService operationService; |
|
|
|
|
|
|
|
public PageVo<ProjectLibListItemVO> projectLibList(ProjectListReq req) { |
|
|
|
LambdaQueryWrapper<Project> query = ProjectHelper.projectQuery(req); |
|
|
|
query.eq(Project::getNewest, Boolean.TRUE); |
|
|
@@ -790,6 +783,12 @@ public class ProjectLibManage { |
|
|
|
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) |
|
|
|