合并解决冲突
This commit is contained in:
2
pom.xml
2
pom.xml
@ -28,7 +28,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.7.2</version>
|
||||
<version>2.7.4</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
|
@ -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