diff --git a/tyr-server/src/main/java/cn/axzo/tyr/server/service/impl/ProductFeatureRelationServiceImpl.java b/tyr-server/src/main/java/cn/axzo/tyr/server/service/impl/ProductFeatureRelationServiceImpl.java index 9eed2af0..29d65032 100644 --- a/tyr-server/src/main/java/cn/axzo/tyr/server/service/impl/ProductFeatureRelationServiceImpl.java +++ b/tyr-server/src/main/java/cn/axzo/tyr/server/service/impl/ProductFeatureRelationServiceImpl.java @@ -2,6 +2,7 @@ package cn.axzo.tyr.server.service.impl; import cn.axzo.basics.common.BeanMapper; import cn.axzo.framework.domain.web.result.ApiResult; +import cn.axzo.pokonyan.config.mybatisplus.BaseEntity; import cn.axzo.thrones.client.saas.ServicePkgClient; import cn.axzo.thrones.client.saas.entity.serivicepgkproduct.ServicePkgProduct; import cn.axzo.thrones.client.saas.entity.servicepkg.ServicePkgDetailRes; @@ -93,10 +94,11 @@ public class ProductFeatureRelationServiceImpl implements ProductFeatureRelation @Override public ApiResult> featureListByProduct(List productIds) { List list = saasProductModuleFeatureRelationDao.lambdaQuery() - .select(SaasProductModuleFeatureRelation::getFeatureId) - .select(SaasProductModuleFeatureRelation::getProductModuleId) - .select(SaasProductModuleFeatureRelation::getDictCode) - .select(SaasProductModuleFeatureRelation::getDictCodeId) + .select(SaasProductModuleFeatureRelation::getFeatureId + ,SaasProductModuleFeatureRelation::getProductModuleId + ,SaasProductModuleFeatureRelation::getDictCode + ,SaasProductModuleFeatureRelation::getDictCodeId + , BaseEntity::getId) .in(SaasProductModuleFeatureRelation::getProductModuleId, productIds) .list(); return ApiResult.ok(BeanMapper.copyList(list, ProductFeatureRelationVO.class));