|
@@ -186,12 +186,17 @@ public class FaceBiopsyServiceImpl implements FaceBiopsyService {
|
|
|
throw new StatusException("201005", "检测结果不允许为空");
|
|
|
}
|
|
|
for (FaceBiopsyStepInfo stepInfo : verifySteps) {
|
|
|
+ //如果检测结果为空,则直接跳过
|
|
|
+ if (stepInfo.getResult() == null) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
if (!stepInfo.getResult()) {
|
|
|
errorMsg = stepInfo.getErrorMsg();
|
|
|
}
|
|
|
|
|
|
//整个检测步骤中只要有一次失败,则认为整个活检失败
|
|
|
- if (null != stepInfo.getResult() && !stepInfo.getResult()) {
|
|
|
+ if (!stepInfo.getResult()) {
|
|
|
finalIsSuccess = false;
|
|
|
}
|
|
|
|