合并解决冲突
This commit is contained in:
@ -112,15 +112,6 @@ public class YxStoreProductAttrServiceImpl extends BaseServiceImpl<StoreProductA
|
||||
unique = oldAttrValue.getUnique();
|
||||
}
|
||||
|
||||
YxStoreProductAttrValue oldAttrValue = storeProductAttrValueService.getOne(new LambdaQueryWrapper<YxStoreProductAttrValue>()
|
||||
.eq(YxStoreProductAttrValue::getSku, productFormatDto.getSku())
|
||||
.eq(YxStoreProductAttrValue::getProductId, productId));
|
||||
|
||||
String unique = IdUtil.simpleUUID();
|
||||
if (Objects.nonNull(oldAttrValue)) {
|
||||
unique = oldAttrValue.getUnique();
|
||||
}
|
||||
|
||||
YxStoreProductAttrValue yxStoreProductAttrValue = YxStoreProductAttrValue.builder()
|
||||
.id(Objects.isNull(oldAttrValue) ? null : oldAttrValue.getId())
|
||||
.productId(productId)
|
||||
|
Reference in New Issue
Block a user