|
|
@@ -403,6 +403,31 @@ 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)); |
|
|
|
|
|
|
|
SafetyMonitorVO safetyVo = new SafetyMonitorVO(); |
|
|
|
//查询风险监测 |
|
|
|
List<SupplierSafetyQualification> ssq = supplierSafetyQualificationService.list(Wrappers.lambdaQuery(SupplierSafetyQualification.class) |
|
|
|
.eq(SupplierSafetyQualification::getProjectCode, projectInfo.getProjectCode())); |
|
|
|
if(CollUtil.isNotEmpty(ssq)){ |
|
|
|
safetyVo.setSupplierSafetyQualification(ssq.stream() |
|
|
|
.map(s -> BeanUtil.copyProperties(s, SupplierSafetyQualificationVO.class)) |
|
|
|
.collect(Collectors.toList())); |
|
|
|
} |
|
|
|
vo.setSafetyInfo(safetyVo); |
|
|
|
|
|
|
|
List<PersonSafetyInfo> psi = personSafetyInfoService.list(Wrappers.lambdaQuery(PersonSafetyInfo.class) |
|
|
|
.eq(PersonSafetyInfo::getProjectCode, projectInfo.getProjectCode())); |
|
|
|
if(CollUtil.isNotEmpty(psi)){ |
|
|
|
safetyVo.setPersonSafetyInfo(psi.stream() |
|
|
|
.map(p -> BeanUtil.copyProperties(p, PersonSafetyInfoVO.class)) |
|
|
|
.collect(Collectors.toList())); |
|
|
|
} |
|
|
|
|
|
|
|
//查询初验信息 |
|
|
|
List<PreInsAcceptancePerson> acceptancePersons = acceptancePersonService.list(Wrappers.lambdaQuery(PreInsAcceptancePerson.class) |
|
|
|