平台件统计
This commit is contained in:
+26
-26
@@ -10122,8 +10122,8 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 清单待发布
|
// 清单待发布
|
||||||
listToBeReleasedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
listToBeReleasedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.REGULATORY_ENGINEER_RETURNS.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.REGULATORY_ENGINEER_RETURNS.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10131,7 +10131,7 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 任务待发起
|
// 任务待发起
|
||||||
taskToBeInitiatedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
taskToBeInitiatedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10139,7 +10139,7 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 任务待确认
|
// 任务待确认
|
||||||
taskToBeConfirmedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
taskToBeConfirmedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10147,11 +10147,11 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 责任人接收
|
// 责任人接收
|
||||||
acceptedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
acceptedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_REVIEWED.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_REVIEWED.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.INCONFORMITY.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.INCONFORMITY.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.TO_TRACK.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.TO_TRACK.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10159,7 +10159,7 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 责任人拒绝
|
// 责任人拒绝
|
||||||
rejectedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
rejectedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.DUTY_PERSON_REJECTED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.DUTY_PERSON_REJECTED.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10172,16 +10172,16 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
Map<String,Object> rejectedMap = new HashMap<>();//责任人拒绝
|
Map<String,Object> rejectedMap = new HashMap<>();//责任人拒绝
|
||||||
|
|
||||||
listToBeReleasedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
listToBeReleasedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue());
|
||||||
listToBeReleasedMap.put("verifyTaskAffirmStatusCount",rejectedCount);
|
listToBeReleasedMap.put("verifyTaskAffirmStatusCount",listToBeReleasedCount);
|
||||||
|
|
||||||
taskToBeInitiatedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue());
|
taskToBeInitiatedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue());
|
||||||
taskToBeInitiatedMap.put("verifyTaskAffirmStatusCount",rejectedCount);
|
taskToBeInitiatedMap.put("verifyTaskAffirmStatusCount",taskToBeInitiatedCount);
|
||||||
|
|
||||||
taskToBeConfirmedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue());
|
taskToBeConfirmedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue());
|
||||||
taskToBeConfirmedMap.put("verifyTaskAffirmStatusCount",rejectedCount);
|
taskToBeConfirmedMap.put("verifyTaskAffirmStatusCount",taskToBeConfirmedCount);
|
||||||
|
|
||||||
acceptedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.DUTY_PERSON_ACCEPTED.getValue());
|
acceptedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.DUTY_PERSON_ACCEPTED.getValue());
|
||||||
acceptedMap.put("verifyTaskAffirmStatusCount",rejectedCount);
|
acceptedMap.put("verifyTaskAffirmStatusCount",acceptedCount);
|
||||||
|
|
||||||
rejectedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.DUTY_PERSON_REJECTED.getValue());
|
rejectedMap.put("verifyTaskAffirmStatus",ComplianceFlowStatusEnum.DUTY_PERSON_REJECTED.getValue());
|
||||||
rejectedMap.put("verifyTaskAffirmStatusCount",rejectedCount);
|
rejectedMap.put("verifyTaskAffirmStatusCount",rejectedCount);
|
||||||
@@ -10348,14 +10348,14 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 不符合
|
// 不符合
|
||||||
nonComplianceCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
nonComplianceCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.INCONFORMITY.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
// 待追踪
|
// 待追踪
|
||||||
toBeTrackedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
toBeTrackedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.TO_TRACK.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10408,11 +10408,11 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 任务待确认
|
// 任务待确认
|
||||||
taskToBeConfirmedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
taskToBeConfirmedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.REGULATORY_ENGINEER_RETURNS.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.REGULATORY_ENGINEER_RETURNS.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue())
|
||||||
|| StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.DUTY_PERSON_REJECTED.getValue())
|
|| StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.DUTY_PERSON_REJECTED.getValue())
|
||||||
|
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
@@ -10421,7 +10421,7 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 结果待提交
|
// 结果待提交
|
||||||
resultsToBeSubmittedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
resultsToBeSubmittedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10429,7 +10429,7 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 结果待审查
|
// 结果待审查
|
||||||
resultsToBeReviewedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
resultsToBeReviewedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_REVIEWED.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.RESULTS_TO_BE_REVIEWED.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
@@ -10437,21 +10437,21 @@ public class PlatformProjectLawsInventoryEOServiceImpl extends ServiceImpl<Platf
|
|||||||
// 符合
|
// 符合
|
||||||
complianceCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
complianceCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
// 不符合
|
// 不符合
|
||||||
nonComplianceCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
nonComplianceCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.INCONFORMITY.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
// 待追踪
|
// 待追踪
|
||||||
toBeTrackedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
toBeTrackedCount = (int) projectLawsInventoryEOList.stream().filter(pliEo -> {
|
||||||
boolean flag = (
|
boolean flag = (
|
||||||
StringUtils.equals(pliEo.getDesignFlowStatus(),ComplianceFlowStatusEnum.CONFORMITY.getValue())
|
StringUtils.equals(pliEo.getVerifyFlowStatus(),ComplianceFlowStatusEnum.TO_TRACK.getValue())
|
||||||
);
|
);
|
||||||
return flag;
|
return flag;
|
||||||
}).count();
|
}).count();
|
||||||
|
|||||||
Reference in New Issue
Block a user