|
@@ -182,7 +182,7 @@ public class FaceBiopsyServiceImpl implements FaceBiopsyService {
|
|
|
boolean isInFreezeTime = calculateIsInFreezeTime(examRecordDataId);
|
|
|
|
|
|
// 检测结果至少有一条检测结果不允许为空
|
|
|
- if (!verifySteps.stream().anyMatch(p -> p.getResult())) {
|
|
|
+ if (!verifySteps.stream().anyMatch(p -> null != p.getResult() && p.getResult() == true)) {
|
|
|
throw new StatusException("201005", "检测结果不允许为空");
|
|
|
}
|
|
|
for (FaceBiopsyStepInfo stepInfo : verifySteps) {
|