diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/banner/BannerServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/banner/BannerServiceImpl.java index 852ed9bd5..296eed502 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/banner/BannerServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/banner/BannerServiceImpl.java @@ -44,6 +44,7 @@ public class BannerServiceImpl implements BannerService { // 插ε…₯ createReqVO.setTenantId(TenantContextHolder.getTenantId()); BannerDO banner = BannerConvert.INSTANCE.convert(createReqVO); + banner.setTenantId(createReqVO.getTenantId()); bannerMapper.insert(banner); // θΏ”ε›ž return banner.getId();