|
@@ -114,6 +114,7 @@ public class TaGoodsController extends BaseController {
|
114
|
114
|
List<TaGoodsSpec> specList = taGoods.getSpecList();
|
115
|
115
|
specList.stream().forEach(e -> {
|
116
|
116
|
e.setGoodsId(taGoods.getGoodsId());
|
|
117
|
+ e.setGoodsPrice(BigDecimal.valueOf(0));
|
117
|
118
|
});
|
118
|
119
|
flagSpec = iTaGoodsSpecService.saveBatch(specList);
|
119
|
120
|
if (flag&& flagSpec){
|