合并解决冲突
This commit is contained in:
2
pom.xml
2
pom.xml
@ -28,7 +28,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.7.2</version>
|
<version>2.7.4</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -112,15 +112,6 @@ public class YxStoreProductAttrServiceImpl extends BaseServiceImpl<StoreProductA
|
|||||||
unique = oldAttrValue.getUnique();
|
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()
|
YxStoreProductAttrValue yxStoreProductAttrValue = YxStoreProductAttrValue.builder()
|
||||||
.id(Objects.isNull(oldAttrValue) ? null : oldAttrValue.getId())
|
.id(Objects.isNull(oldAttrValue) ? null : oldAttrValue.getId())
|
||||||
.productId(productId)
|
.productId(productId)
|
||||||
|
Reference in New Issue
Block a user