Merge branch 'feature/mall_product'
commit
54cc1cde59
|
@ -44,6 +44,7 @@ public class BannerServiceImpl implements BannerService {
|
||||||
// 插入
|
// 插入
|
||||||
createReqVO.setTenantId(TenantContextHolder.getTenantId());
|
createReqVO.setTenantId(TenantContextHolder.getTenantId());
|
||||||
BannerDO banner = BannerConvert.INSTANCE.convert(createReqVO);
|
BannerDO banner = BannerConvert.INSTANCE.convert(createReqVO);
|
||||||
|
banner.setTenantId(createReqVO.getTenantId());
|
||||||
bannerMapper.insert(banner);
|
bannerMapper.insert(banner);
|
||||||
// 返回
|
// 返回
|
||||||
return banner.getId();
|
return banner.getId();
|
||||||
|
|
Loading…
Reference in New Issue