feat: 产品中心
This commit is contained in:
parent
6ffc91321b
commit
5cab10402c
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue