Переглянути джерело

add ComponentTypeName Attributes

xiewenjie 4 роки тому
батько
коміт
49308ce696

+ 2 - 2
sxz-core/src/main/java/com/fdkk/sxz/webApi/service/custom/impl/CustomProductServiceImpl.java

@@ -100,8 +100,8 @@ public class CustomProductServiceImpl extends BaseServiceImpl<ICustomProductMapp
                         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)) {
                                 responseCustomComponent.setComponentTypeName(componentClassifyEntity.getName());
                             }