商品模块代码提交

This commit is contained in:
Tankaikai
2025-02-27 10:24:54 +08:00
parent 357fe60a55
commit 36b4467ba5

View File

@@ -46,7 +46,7 @@ public class ShopProductSpecServiceImpl extends ServiceImpl<ShopProdSpecMapper,
}); });
} }
if (StrUtil.isNotEmpty(param.getName())) { if (StrUtil.isNotEmpty(param.getName())) {
queryWrapper.like(ShopProdSpec::getName, param.getName()); queryWrapper.like(ShopProdSpec::getFullName, param.getName());
} }
Long shopId = StpKit.USER.getShopId(0L); Long shopId = StpKit.USER.getShopId(0L);
queryWrapper.eq(ShopProdSpec::getShopId, shopId); queryWrapper.eq(ShopProdSpec::getShopId, shopId);