|
|
@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import digital.laboratory.platform.common.mybatis.security.service.DLPUser; |
|
|
|
import digital.laboratory.platform.common.mybatis.security.service.DLPUser; |
|
|
|
import digital.laboratory.platform.reagent.entity.*; |
|
|
|
import digital.laboratory.platform.reagent.entity.*; |
|
|
|
import digital.laboratory.platform.reagent.mapper.ReviewAndApproveMapper; |
|
|
|
import digital.laboratory.platform.reagent.mapper.*; |
|
|
|
import digital.laboratory.platform.reagent.service.*; |
|
|
|
import digital.laboratory.platform.reagent.service.*; |
|
|
|
import digital.laboratory.platform.reagent.vo.*; |
|
|
|
import digital.laboratory.platform.reagent.vo.*; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -21,9 +21,6 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private DecentralizedRequestService decentralizedRequestService; |
|
|
|
private DecentralizedRequestService decentralizedRequestService; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private PurchasingPlanService purchasingPlanService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private AcceptanceRecordFormService acceptanceRecordFormService; |
|
|
|
private AcceptanceRecordFormService acceptanceRecordFormService; |
|
|
|
|
|
|
|
|
|
|
@ -51,6 +48,44 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private CentralizedRequestService centralizedRequestService; |
|
|
|
private CentralizedRequestService centralizedRequestService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private PurchasingPlanService purchasingPlanService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private CentralizedRequestMapper centralizedRequestMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private PurchasingPlanMapper purchasingPlanMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private DecentralizedRequestMapper decentralizedRequestMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private AcceptanceRecordFormMapper acceptanceRecordFormMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private ComplianceCheckMapper complianceCheckMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private CheckScheduleMapper checkScheduleMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private PeriodVerificationImplementationMapper periodVerificationImplementationMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private PurchaseCatalogueMapper purchaseCatalogueMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private StandardMaterialApprovalFormMapper standardMaterialApprovalFormMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private EvaluationFormMapper evaluationFormMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private InstructionBookMapper instructionBookMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
// 进行审核的列表
|
|
|
|
// 进行审核的列表
|
|
|
|
public ReviewAndApprove getReviewAndApproveList(DLPUser dlpUser) { |
|
|
|
public ReviewAndApprove getReviewAndApproveList(DLPUser dlpUser) { |
|
|
@ -91,7 +126,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (CentralizedRequest centralizedRequest : list) { |
|
|
|
for (CentralizedRequest centralizedRequest : list) { |
|
|
|
|
|
|
|
|
|
|
|
CentralizedRequestVO centralizedRequestVO = centralizedRequestService.getCentralizedRequestVO(centralizedRequest.getId()); |
|
|
|
CentralizedRequestVO centralizedRequestVO = centralizedRequestMapper.getCentralizedRequestVO(centralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
centralizedRequestVOList.add(centralizedRequestVO); |
|
|
|
centralizedRequestVOList.add(centralizedRequestVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -112,7 +147,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -132,7 +167,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -152,7 +187,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -171,7 +206,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -190,7 +225,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchaseCatalogue purchaseCatalogue : list) { |
|
|
|
for (PurchaseCatalogue purchaseCatalogue : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchaseCatalogueVO purchaseCatalogueVO = purchaseCatalogueService.getPurchaseCatalogueVO(purchaseCatalogue.getPurchaseCatalogueId()); |
|
|
|
PurchaseCatalogueVO purchaseCatalogueVO = purchaseCatalogueMapper.getPurchaseCatalogueVO(purchaseCatalogue.getPurchaseCatalogueId()); |
|
|
|
|
|
|
|
|
|
|
|
purchaseCatalogueVOArrayList.add(purchaseCatalogueVO); |
|
|
|
purchaseCatalogueVOArrayList.add(purchaseCatalogueVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -210,7 +245,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchaseCatalogue purchaseCatalogue : list) { |
|
|
|
for (PurchaseCatalogue purchaseCatalogue : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchaseCatalogueVO purchaseCatalogueVO = purchaseCatalogueService.getPurchaseCatalogueVO(purchaseCatalogue.getPurchaseCatalogueId()); |
|
|
|
PurchaseCatalogueVO purchaseCatalogueVO = purchaseCatalogueMapper.getPurchaseCatalogueVO(purchaseCatalogue.getPurchaseCatalogueId()); |
|
|
|
|
|
|
|
|
|
|
|
purchaseCatalogueVOArrayList.add(purchaseCatalogueVO); |
|
|
|
purchaseCatalogueVOArrayList.add(purchaseCatalogueVO); |
|
|
|
|
|
|
|
|
|
|
@ -231,7 +266,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanService.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanMapper.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
|
|
|
|
|
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -250,7 +285,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanService.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanMapper.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
|
|
|
|
|
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -270,7 +305,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormService.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormMapper.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -291,7 +326,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormService.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormMapper.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -312,7 +347,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormService.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormMapper.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -332,7 +367,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
|
|
|
|
|
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckService.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckMapper.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
|
|
|
|
|
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -352,7 +387,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
|
|
|
|
|
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckService.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckMapper.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
|
|
|
|
|
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -371,7 +406,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (CheckSchedule checkSchedule : list) { |
|
|
|
for (CheckSchedule checkSchedule : list) { |
|
|
|
|
|
|
|
|
|
|
|
CheckScheduleVO checkScheduleVO = checkScheduleService.getCheckScheduleVO(checkSchedule.getId()); |
|
|
|
CheckScheduleVO checkScheduleVO = checkScheduleMapper.getCheckScheduleVO(checkSchedule.getId()); |
|
|
|
|
|
|
|
|
|
|
|
checkScheduleVOS1.add(checkScheduleVO); |
|
|
|
checkScheduleVOS1.add(checkScheduleVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -390,7 +425,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PeriodVerificationImplementation periodVerificationImplementation : list) { |
|
|
|
for (PeriodVerificationImplementation periodVerificationImplementation : list) { |
|
|
|
|
|
|
|
|
|
|
|
PeriodVerificationImplementationVO periodVerificationImplementationVO = periodVerificationImplementationService.getPeriodVerificationImplementationVO(periodVerificationImplementation.getId()); |
|
|
|
PeriodVerificationImplementationVO periodVerificationImplementationVO = periodVerificationImplementationMapper.getPeriodVerificationImplementationVO(periodVerificationImplementation.getId()); |
|
|
|
|
|
|
|
|
|
|
|
periodVerificationImplementationVOS1.add(periodVerificationImplementationVO); |
|
|
|
periodVerificationImplementationVOS1.add(periodVerificationImplementationVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -410,7 +445,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormService.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormMapper.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
} |
|
|
|
} |
|
|
@ -429,7 +464,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormService.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormMapper.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
} |
|
|
|
} |
|
|
@ -448,7 +483,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
EvaluationFormVO formById = evaluationFormService.getFormById(evaluationForm.getId()); |
|
|
|
EvaluationFormVO formById = evaluationFormMapper.getEvaluationForm(evaluationForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
} |
|
|
|
} |
|
|
@ -466,7 +501,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
EvaluationFormVO formById = evaluationFormService.getFormById(evaluationForm.getId()); |
|
|
|
EvaluationFormVO formById = evaluationFormMapper.getEvaluationForm(evaluationForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
} |
|
|
|
} |
|
|
@ -485,7 +520,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (InstructionBook instructionBook : list) { |
|
|
|
for (InstructionBook instructionBook : list) { |
|
|
|
|
|
|
|
|
|
|
|
InstructionBookVO vo = instructionBookService.getVO(instructionBook.getReferenceMaterialTypeId()); |
|
|
|
InstructionBookVO vo = instructionBookMapper.getInstructionBookVO(instructionBook.getReferenceMaterialTypeId()); |
|
|
|
|
|
|
|
|
|
|
|
instructionBookVOS1.add(vo); |
|
|
|
instructionBookVOS1.add(vo); |
|
|
|
} |
|
|
|
} |
|
|
@ -547,7 +582,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (CentralizedRequest centralizedRequest : list) { |
|
|
|
for (CentralizedRequest centralizedRequest : list) { |
|
|
|
|
|
|
|
|
|
|
|
CentralizedRequestVO centralizedRequestVO = centralizedRequestService.getCentralizedRequestVO(centralizedRequest.getId()); |
|
|
|
CentralizedRequestVO centralizedRequestVO = centralizedRequestMapper.getCentralizedRequestVO(centralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
centralizedRequestVOList.add(centralizedRequestVO); |
|
|
|
centralizedRequestVOList.add(centralizedRequestVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -567,7 +602,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -587,7 +622,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -607,7 +642,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -626,7 +661,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
for (DecentralizedRequest decentralizedRequest : decentralizedRequestList) { |
|
|
|
|
|
|
|
|
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(decentralizedRequest.getId()); |
|
|
|
DecentralizedRequestVO requestById = decentralizedRequestMapper.getDecentralizedRequest(decentralizedRequest.getId()); |
|
|
|
|
|
|
|
|
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
decentralizedRequestVOList.add(requestById); |
|
|
|
} |
|
|
|
} |
|
|
@ -645,7 +680,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchaseCatalogue purchaseCatalogue : list) { |
|
|
|
for (PurchaseCatalogue purchaseCatalogue : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchaseCatalogueVO purchaseCatalogueVO = purchaseCatalogueService.getPurchaseCatalogueVO(purchaseCatalogue.getPurchaseCatalogueId()); |
|
|
|
PurchaseCatalogueVO purchaseCatalogueVO = purchaseCatalogueMapper.getPurchaseCatalogueVO(purchaseCatalogue.getPurchaseCatalogueId()); |
|
|
|
|
|
|
|
|
|
|
|
purchaseCatalogueVOArrayList.add(purchaseCatalogueVO); |
|
|
|
purchaseCatalogueVOArrayList.add(purchaseCatalogueVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -666,7 +701,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanService.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanMapper.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
|
|
|
|
|
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -685,7 +720,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
for (PurchasingPlan purchasingPlan : list) { |
|
|
|
|
|
|
|
|
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanService.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
PurchasingPlanVO purchasingPlanVO = purchasingPlanMapper.getPurchasingPlanVO(purchasingPlan.getPurchasingPlanId()); |
|
|
|
|
|
|
|
|
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
purchasingPlanVOS1.add(purchasingPlanVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -705,7 +740,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormService.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormMapper.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -726,7 +761,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormService.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormMapper.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -747,7 +782,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
for (AcceptanceRecordForm acceptanceRecordForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormService.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
AcceptanceRecordFormVO acceptanceRecordFormVO = acceptanceRecordFormMapper.getAcceptanceRecordFormVO(acceptanceRecordForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
acceptanceRecordFormVOS1.add(acceptanceRecordFormVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -767,7 +802,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
|
|
|
|
|
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckService.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckMapper.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
|
|
|
|
|
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -787,7 +822,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
for (ComplianceCheck complianceCheck : list) { |
|
|
|
|
|
|
|
|
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckService.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
ComplianceCheckVO complianceCheckVO = complianceCheckMapper.getComplianceCheckVO(complianceCheck.getId()); |
|
|
|
|
|
|
|
|
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
complianceCheckVOS1.add(complianceCheckVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -806,7 +841,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (CheckSchedule checkSchedule : list) { |
|
|
|
for (CheckSchedule checkSchedule : list) { |
|
|
|
|
|
|
|
|
|
|
|
CheckScheduleVO checkScheduleVO = checkScheduleService.getCheckScheduleVO(checkSchedule.getId()); |
|
|
|
CheckScheduleVO checkScheduleVO = checkScheduleMapper.getCheckScheduleVO(checkSchedule.getId()); |
|
|
|
|
|
|
|
|
|
|
|
checkScheduleVOS1.add(checkScheduleVO); |
|
|
|
checkScheduleVOS1.add(checkScheduleVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -825,7 +860,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (PeriodVerificationImplementation periodVerificationImplementation : list) { |
|
|
|
for (PeriodVerificationImplementation periodVerificationImplementation : list) { |
|
|
|
|
|
|
|
|
|
|
|
PeriodVerificationImplementationVO periodVerificationImplementationVO = periodVerificationImplementationService.getPeriodVerificationImplementationVO(periodVerificationImplementation.getId()); |
|
|
|
PeriodVerificationImplementationVO periodVerificationImplementationVO = periodVerificationImplementationMapper.getPeriodVerificationImplementationVO(periodVerificationImplementation.getId()); |
|
|
|
|
|
|
|
|
|
|
|
periodVerificationImplementationVOS1.add(periodVerificationImplementationVO); |
|
|
|
periodVerificationImplementationVOS1.add(periodVerificationImplementationVO); |
|
|
|
} |
|
|
|
} |
|
|
@ -845,7 +880,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormService.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormMapper.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
} |
|
|
|
} |
|
|
@ -864,7 +899,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
for (StandardMaterialApprovalForm standardMaterialApprovalForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormService.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
StandardMaterialApprovalFormVO vo = standardMaterialApprovalFormMapper.getVO(standardMaterialApprovalForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
standardMaterialApprovalFormVOS1.add(vo); |
|
|
|
} |
|
|
|
} |
|
|
@ -883,7 +918,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
EvaluationFormVO formById = evaluationFormService.getFormById(evaluationForm.getId()); |
|
|
|
EvaluationFormVO formById = evaluationFormMapper.getEvaluationForm(evaluationForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
} |
|
|
|
} |
|
|
@ -902,7 +937,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
for (EvaluationForm evaluationForm : list) { |
|
|
|
|
|
|
|
|
|
|
|
EvaluationFormVO formById = evaluationFormService.getFormById(evaluationForm.getId()); |
|
|
|
EvaluationFormVO formById = evaluationFormMapper.getEvaluationForm(evaluationForm.getId()); |
|
|
|
|
|
|
|
|
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
evaluationFormVOS1.add(formById); |
|
|
|
} |
|
|
|
} |
|
|
@ -921,7 +956,7 @@ public class ReviewAndApproveServiceImpl extends ServiceImpl<ReviewAndApproveMap |
|
|
|
|
|
|
|
|
|
|
|
for (InstructionBook instructionBook : list) { |
|
|
|
for (InstructionBook instructionBook : list) { |
|
|
|
|
|
|
|
|
|
|
|
InstructionBookVO vo = instructionBookService.getVO(instructionBook.getReferenceMaterialTypeId()); |
|
|
|
InstructionBookVO vo = instructionBookMapper.getInstructionBookVO(instructionBook.getReferenceMaterialTypeId()); |
|
|
|
|
|
|
|
|
|
|
|
instructionBookVOS1.add(vo); |
|
|
|
instructionBookVOS1.add(vo); |
|
|
|
} |
|
|
|
} |
|
|
|