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
order-group-application
order-group
Commits
93079f6d
Commit
93079f6d
authored
Dec 22, 2020
by
yu.sun
Browse files
Options
Browse Files
Download
Plain Diff
sunyu::resolve conflicts::fix about merge branch conflicts
parents
75e24b5a
126d1910
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
20 deletions
+22
-20
assortment-ordercenter-sdk/pom.xml
+1
-2
assortment-ordercenter-sdk/readme.md
+4
-2
assortment-shoppingcart-sdk/pom.xml
+1
-1
assortment-shoppingcart-sdk/readme.md
+3
-2
order-application-service/pom.xml
+1
-2
ordercenter-sdk/pom.xml
+1
-2
shopping-cart-application-service/pom.xml
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartGoodsResponseVo.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
+3
-3
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/calculation/SetMealCalculation.java
+6
-4
No files found.
assortment-ordercenter-sdk/pom.xml
View file @
93079f6d
...
...
@@ -128,4 +128,4 @@
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
assortment-ordercenter-sdk/readme.md
View file @
93079f6d
...
...
@@ -153,4 +153,6 @@
| 2.1.8-RELEASE | 拼单 | 缪晖 | 2020-12-10 |
| 2.1.9-RELEASE | 去掉0元核销优惠券 | 李小二 | 2020-12-14 |
\ No newline at end of file
| 2.1.9-RELEASE | 去掉0元核销优惠券 | 李小二 | 2020-12-14 |
| 2.1.10-RELEASE | coco | 刘鹏飞 | 2020-12-17 |
| 2.1.11-RELEASE | 农工商添加设备号 | 梁崇福 | 2020-12-17 |
\ No newline at end of file
assortment-shoppingcart-sdk/pom.xml
View file @
93079f6d
...
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
assortment-shoppingcart-sdk
</artifactId>
<version>
2.0.15-SNAPSHOT
</version>
<version>
1.1.9.RELEASE
</version>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
assortment-shoppingcart-sdk/readme.md
View file @
93079f6d
...
...
@@ -12,4 +12,5 @@
| 1.1.5.RELEASE| 商品加料 | | 2020-08-24 |
| 1.1.6.RELEASE| 新增商品券名称字段| 孙昱 | 2020-11-09 |
| 1.1.7.RELEASE| 标识套餐类型| 孙昱 | 2020-12-01 |
| 1.1.8.RELEASE| 拼单| 缪晖 | 2020-12-10 |
\ No newline at end of file
| 1.1.8.RELEASE| 拼单| 缪晖 | 2020-12-10 |
| 1.1.9.RELEASE| 清除代金券缓存| 缪晖 | 2020-12-17 |
\ No newline at end of file
order-application-service/pom.xml
View file @
93079f6d
...
...
@@ -443,4 +443,4 @@
</repository>
</repositories>
</project>
\ No newline at end of file
</project>
ordercenter-sdk/pom.xml
View file @
93079f6d
...
...
@@ -50,4 +50,4 @@
</dependencies>
</project>
\ No newline at end of file
</project>
shopping-cart-application-service/pom.xml
View file @
93079f6d
...
...
@@ -45,7 +45,7 @@
<dependency>
<groupId>
cn.freemud
</groupId>
<artifactId>
assortment-shoppingcart-sdk
</artifactId>
<version>
2.0.15-SNAPSHOT
</version>
<version>
1.1.9.RELEASE
</version>
</dependency>
<!-- 再来一单查询订单信息 -->
<dependency>
...
...
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartGoodsResponseVo.java
View file @
93079f6d
...
...
@@ -18,9 +18,9 @@ import lombok.Builder;
import
lombok.Data
;
import
java.util.Date
;
import
java.math.BigDecimal
;
import
java.util.List
;
import
java.util.UUID
;
import
java.math.BigDecimal
;
@Data
public
class
ShoppingCartGoodsResponseVo
extends
ShoppingCartGoodsBaseResponseVo
{
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
View file @
93079f6d
...
...
@@ -690,8 +690,8 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
if
(
goodsList
==
null
||
!
ResponseResult
.
SUCCESS
.
getCode
().
equals
(
goodsList
.
getCode
()))
{
return
goodsList
;
}
String
partnerId
=
shoppingCartInfoRequestVo
.
getPartnerId
();
String
storeId
=
shoppingCartInfoRequestVo
.
getShopId
();
ShoppingCartGoodsResponseVo
shoppingCartGoodsResponseVo
=
goodsList
.
getResult
();
...
...
@@ -699,7 +699,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
if
(!
checkAvailableCoupon
(
shoppingCartGoodsResponseVo
,
shoppingCartInfoRequestVo
.
getCouponCode
())){
return
ResponseUtil
.
error
(
ResponseResult
.
SHOPPING_CART_COUPON_NOT_USE
);
};
//SVC卡支付
SVCCardPay
(
shoppingCartInfoRequestVo
.
getCardCode
(),
shoppingCartInfoRequestVo
.
getReceiveId
(),
partnerId
,
storeId
,
shoppingCartGoodsResponseVo
);
return
ResponseUtil
.
success
(
shoppingCartGoodsResponseVo
);
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/calculation/SetMealCalculation.java
View file @
93079f6d
...
...
@@ -92,15 +92,17 @@ public class SetMealCalculation {
}
}
Long
amount
=
null
!=
cartGoods
.
getFinalPrice
()
?
cartGoods
.
getFinalPrice
()*
cartGoods
.
getQty
()
+
productGroupTotalAmount
+
materialPrice
:
productGroupTotalAmount
+
productComboTotalAmount
+
materialPrice
;
//如果是商品券商品,不重新计算套餐价格
if
(
StringUtils
.
isEmpty
(
cartGoods
.
getCouponCode
()))
{
Long
amount
=
null
!=
cartGoods
.
getFinalPrice
()
?
cartGoods
.
getFinalPrice
()
*
cartGoods
.
getQty
()
+
productGroupTotalAmount
+
materialPrice
:
productGroupTotalAmount
+
productComboTotalAmount
+
materialPrice
;
cartGoods
.
setAmount
(
amount
);
}
Long
comboOriginalPriceAmount
=
null
!=
cartGoods
.
getOriginalAmount
()
?
cartGoods
.
getOriginalAmount
()
:
productComboTotalAmount
;
cartGoods
.
setOriginalAmount
(
productGroupTotalAmount
+
comboOriginalPriceAmount
+
materialPrice
);
cartGoods
.
setOriginalPrice
(
null
!=
cartGoods
.
getOriginalPrice
()
?
cartGoods
.
getOriginalPrice
()
:
productComboTotalAmount
);
cartGoods
.
setAmount
(
amount
);
cartGoods
.
setFinalPrice
(
null
!=
cartGoods
.
getFinalPrice
()
?
cartGoods
.
getFinalPrice
()
:
productComboTotalAmount
);
...
...
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