fix(编译): 补 ProductCategoryService 新构造器的调用点

上一笔给类目服务加了 CompanyScopeSupport,src/test 里的本地校验 harness 仍是单参调用,
干净检出树 testCompile 直接炸;主树带着同内容的未提交改动所以没暴露。
This commit is contained in:
2026-10-06 10:26:24 +08:00
parent 16583f578d
commit 581a596836
@@ -75,7 +75,8 @@ public class SimilarAsinLlmLocalVerify {
// 生产真实类目数据(导出自 biz_product_category),spy 类目服务按 parentId 过滤。
List<com.nanri.aiimage.modules.productcategory.model.entity.ProductCategoryEntity> categories = loadCategories(objectMapper);
ProductCategoryService categoryService = Mockito.spy(new ProductCategoryService(
Mockito.mock(com.nanri.aiimage.modules.productcategory.mapper.ProductCategoryMapper.class)));
Mockito.mock(com.nanri.aiimage.modules.productcategory.mapper.ProductCategoryMapper.class),
Mockito.mock(com.nanri.aiimage.common.service.CompanyScopeSupport.class)));
Mockito.doAnswer(invocation -> {
Long parentId = invocation.getArgument(0);
List<com.nanri.aiimage.modules.productcategory.model.vo.ProductCategoryItemVo> items = categories.stream()