|
@@ -135,7 +135,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
|
|
|
if (editFlag == 1) {
|
|
if (editFlag == 1) {
|
|
goods.setId(goodsDTO.getId());
|
|
goods.setId(goodsDTO.getId());
|
|
- goods = secondGoodsMapper.selectById(goodsDTO.getId());
|
|
|
|
|
|
+// goods = secondGoodsMapper.selectById(goodsDTO.getId());
|
|
// 保存商品基本信息
|
|
// 保存商品基本信息
|
|
if (!updateById(goods)) {
|
|
if (!updateById(goods)) {
|
|
return false; // 保存失败直接返回
|
|
return false; // 保存失败直接返回
|