Commit a49beafb by 丁伟峰

返回语法错误

1 parent 31c45ee6
...@@ -45,7 +45,7 @@ public class ProductServiceImpl implements ProductService { ...@@ -45,7 +45,7 @@ public class ProductServiceImpl implements ProductService {
brandMap.put(brand, brandDTO); brandMap.put(brand, brandDTO);
} }
} }
return (List<BrandDTO>) brandMap.values(); return new ArrayList<>(brandMap.values());
} }
@Override @Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!