1.默认上下架

This commit is contained in:
2024-07-26 18:05:11 +08:00
parent b02b4c236c
commit 275b781f48
2 changed files with 2 additions and 1 deletions

View File

@@ -387,6 +387,7 @@ public class TbProductServiceImpl implements TbProductService {
sku.setShopId(save.getShopId());
sku.setCreatedAt(Instant.now().toEpochMilli());
sku.setUpdatedAt(Instant.now().toEpochMilli());
sku.setIsGrounding(1);
skuList.add(sku);
}
List<TbProductSku> tbProductSkus = tbProductSkuRepository.saveAll(skuList);