Merge branch 'feature/mall_product'

pull/12/head
tangqian 2023-06-02 10:34:52 +08:00
commit 54cc1cde59
1 changed files with 1 additions and 0 deletions

View File

@ -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();