|
|
@@ -7,6 +7,7 @@ import com.etotem.cfc.entity.Product;
|
|
|
import com.etotem.cfc.entity.ProductPpoint;
|
|
|
import com.etotem.cfc.mapper.CategoryPpointMapper;
|
|
|
import com.etotem.cfc.mapper.ProductMapper;
|
|
|
+import com.etotem.cfc.mapper.ProductCategoryMapper;
|
|
|
import com.etotem.cfc.mapper.ProductPpointMapper;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
@@ -155,7 +156,7 @@ public class PpointConfigService {
|
|
|
if (!categoryIds.isEmpty()) {
|
|
|
String ids = categoryIds.stream().map(String::valueOf).collect(Collectors.joining(","));
|
|
|
try {
|
|
|
- List<Map<String, Object>> cats = categoryPpointMapper.selectMaps(
|
|
|
+ List<Map<String, Object>> cats = productCategoryMapper.selectMaps(
|
|
|
new LambdaQueryWrapper<com.etotem.cfc.entity.ProductCategory>()
|
|
|
.in(com.etotem.cfc.entity.ProductCategory::getId, categoryIds)
|
|
|
.select(com.etotem.cfc.entity.ProductCategory::getId, com.etotem.cfc.entity.ProductCategory::getName)
|