修复门禁:校准批量撤权结果成功语义
This commit is contained in:
1 parent
b0917fc36f
commit
7d10968b50
1 file changed
+2
-2
+2
-2
@@ -68,8 +68,8 @@ public class ReconciliationResult implements Serializable {
|
||||
res.setEnrollmentId(batchResult.getEnrollmentId());
|
||||
res.setDecision(ReconciliationDecision.REVOKE_REQUIRED);
|
||||
res.setReason("Batch reconciliation outcome: " + batchResult.getOutcome());
|
||||
res.setSuccess(!BatchReconciliationResult.OUTCOME_ALL_FAILED.equals(batchResult.getOutcome()));
|
||||
res.setExternalInvoked(batchResult.getDispatched() > 0);
|
||||
res.setSuccess(batchResult.isSuccess());
|
||||
res.setExternalInvoked(batchResult.isExternalInvoked());
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user