/**
* //TODO:高级部分完善后续
* @param vo 新增商品
*/
//@GlobalTransactional(rollbackFor = Exception.class)
//@Transactional(rollbackFor = Exception.class)
@Override
public void saveSupInfo(SpuSaveVo vo) {
//1、保存spu基本信息:pms_spu_info
SpuInfoEntity spuInfoEntity = new SpuInfoEntity();
BeanUtils.copyProperties(vo,spuInfoEntity);
spuInfoEntity.setCreateTime(new Date());
spuInfoEntity.setUpdateTime(new Date());
this.saveBaseSpuInfo(spuInfoEntity);
//2、保存spu的描述图片:pms_spu_info_desc
List<String> decript = vo.getDecript();
SpuInfoDescEntity spuInfoDescEnt
GuLi商城-商品服务-API-新增商品-商品新增业务流程分析
最新推荐文章于 2024-09-10 10:21:38 发布