|
@@ -100,8 +100,8 @@ public class CustomProductServiceImpl extends BaseServiceImpl<ICustomProductMapp
|
|
responseCustomComponent.setOrigin(origin);
|
|
responseCustomComponent.setOrigin(origin);
|
|
|
|
|
|
|
|
|
|
- if (ObjectUtil.isNotNull(responseCustomComponent.getComponentTypeId())) {
|
|
|
|
- CustomComponentClassifyEntity componentClassifyEntity = componentClassifyService.findById(responseCustomComponent.getComponentTypeId());
|
|
|
|
|
|
+ if (ObjectUtil.isNotNull(componentEntity.getComponentTypeId())) {
|
|
|
|
+ CustomComponentClassifyEntity componentClassifyEntity = componentClassifyService.findById(componentEntity.getComponentTypeId());
|
|
if (ObjectUtil.isNotNull(componentClassifyEntity)) {
|
|
if (ObjectUtil.isNotNull(componentClassifyEntity)) {
|
|
responseCustomComponent.setComponentTypeName(componentClassifyEntity.getName());
|
|
responseCustomComponent.setComponentTypeName(componentClassifyEntity.getName());
|
|
}
|
|
}
|