Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
order-group
Commits
3dd37957
Commit
3dd37957
authored
Feb 24, 2020
by
dingkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
固定商品,可选商品重量
parent
f7f2b9f7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
assortment-shoppingcart-sdk/pom.xml
+1
-1
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/adapter/ShoppingCartAdapter.java
+1
-0
shopping-cart-application-service/pom.xml
+1
-1
No files found.
assortment-shoppingcart-sdk/pom.xml
View file @
3dd37957
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
productcenter-sdk
</artifactId>
<artifactId>
productcenter-sdk
</artifactId>
<version>
2.7.
4.RELEASE
</version>
<version>
2.7.
5-SNAPSHOT
</version>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/adapter/ShoppingCartAdapter.java
View file @
3dd37957
...
@@ -402,6 +402,7 @@ public class ShoppingCartAdapter {
...
@@ -402,6 +402,7 @@ public class ShoppingCartAdapter {
comboxGoods
.
setFinalPrice
(
finalPrice
);
comboxGoods
.
setFinalPrice
(
finalPrice
);
comboxGoods
.
setWeightType
(
isComboxGoods
?
CommonsConstant
.
WEIGHT_PRODUCT
.
equals
(
productComboType
.
getWeightType
())
:
CommonsConstant
.
WEIGHT_PRODUCT
.
equals
(
groupDetailType
.
getWeightType
()));
comboxGoods
.
setWeightType
(
isComboxGoods
?
CommonsConstant
.
WEIGHT_PRODUCT
.
equals
(
productComboType
.
getWeightType
())
:
CommonsConstant
.
WEIGHT_PRODUCT
.
equals
(
groupDetailType
.
getWeightType
()));
comboxGoods
.
setUnit
(
isComboxGoods
?
productComboType
.
getUnit
()
:
groupDetailType
.
getUnit
());
comboxGoods
.
setUnit
(
isComboxGoods
?
productComboType
.
getUnit
()
:
groupDetailType
.
getUnit
());
comboxGoods
.
setWeight
(
isComboxGoods
?
productComboType
.
getWeight
()
:
groupDetailType
.
getWeight
());
}
}
private
Map
<
String
,
String
>
getAttributes
(
CartGoods
cartGoods
,
List
<
CartGoods
.
CartGoodsExtra
>
extra
,
List
<
ProductBeanDTO
.
ProductAttributeGroupListBean
>
attributeGroupListBeanList
,
List
<
String
>
invalidGoodsIdList
)
{
private
Map
<
String
,
String
>
getAttributes
(
CartGoods
cartGoods
,
List
<
CartGoods
.
CartGoodsExtra
>
extra
,
List
<
ProductBeanDTO
.
ProductAttributeGroupListBean
>
attributeGroupListBeanList
,
List
<
String
>
invalidGoodsIdList
)
{
...
...
shopping-cart-application-service/pom.xml
View file @
3dd37957
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
productcenter-sdk
</artifactId>
<artifactId>
productcenter-sdk
</artifactId>
<version>
2.7.
4.RELEASE
</version>
<version>
2.7.
5-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment