|
@@ -48,7 +48,7 @@ public class InspectionItemPlanConclusionServiceImpl extends BaseServiceImpl<Lon
|
|
|
if(CollectionUtils.isEmpty(inspectionItemPlanConclusions)){
|
|
|
throw new BizException("请填写答案");
|
|
|
}
|
|
|
- if(inspectionItemPlanConclusions.stream().anyMatch(e -> StringUtils.isEmpty(e.getCheckConclusion()))){
|
|
|
+ if(inspectionItemPlanConclusions.stream().anyMatch(e -> StringUtils.isEmpty(e.getCheckConclusion()) && !StringUtils.equals(e.getQuestionType(),"radio"))){
|
|
|
throw new BizException("请填写所有答案");
|
|
|
}
|
|
|
//删除老的
|