feat: 产品中心

This commit is contained in:
曹鹏飞 2025-06-25 11:29:10 +08:00
parent 6ffc91321b
commit 5cab10402c
1 changed files with 2 additions and 1 deletions

View File

@ -48,9 +48,10 @@ public class ProductPartInfoServiceImpl extends ServiceImpl<ProductPartInfoMappe
@Override
public void update(List<ProductPartInfoAddRequest> items) {
if (CollectionUtil.isNotEmpty(items)) {
saveBatch(
updateBatchById(
items.stream()
.map(it -> new ProductPartInfo()
.setId(it.getId())
.setName(it.getName())
.setDesc(it.getDesc())
.setImage(it.getImage())