|
|
@@ -649,7 +649,9 @@ public class ComponentSubmitServiceImpl implements ComponentSubmitService {
|
|
|
Object description = row.get(8);
|
|
|
if (description != null && StringUtils.hasText(description.toString())) {
|
|
|
component.setDescription(description.toString().trim());
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ throw new IllegalOperatorException(String.format("第%s行描述为空,请补充完全", i + 1));
|
|
|
+ }
|
|
|
|
|
|
// 参数值
|
|
|
Set<PropertyValueCrawl> propertyValues = new HashSet<PropertyValueCrawl>();
|