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
5b128b2c
Commit
5b128b2c
authored
Apr 07, 2020
by
姜海波
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'qa' of
http://gitlab.freemud.com/order-group-application/order-group
into qa
parents
a306209c
1442beaf
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
50 additions
and
209 deletions
+50
-209
.gitignore
+3
-0
assortment-ordercenter-sdk/pom.xml
+2
-2
assortment-ordercenter-sdk/readme.md
+3
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+3
-0
assortment-shoppingcart-sdk/pom.xml
+1
-1
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/adapter/ShoppingCartAdapter.java
+4
-1
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/domain/CartGoods.java
+4
-0
order-management/order-management.iml
+0
-176
ordercenter-sdk/pom.xml
+1
-1
ordercenter-sdk/readme.md
+2
-0
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/OrderSettlementType.java
+2
-2
shopping-cart-application-service/pom.xml
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/adapter/ShoppingCartConvertAdapter.java
+1
-0
shopping-cart-application-service/src/main/java/cn/freemud/constant/ApplicationConstant.java
+2
-2
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/CartGoods.java
+4
-0
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ComboxGoodsRequestVo.java
+4
-0
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartGoodsResponseVo.java
+0
-4
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/BuySendPromotionService.java
+2
-2
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/DefaultPromotionService.java
+1
-2
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
+10
-15
No files found.
.gitignore
View file @
5b128b2c
...
...
@@ -18,3 +18,5 @@ push-order-service/push-order-service.iml
push-order-service/target/
shopping-cart-application-service/shopping-cart-application-service.iml
shopping-cart-application-service/target/
order-management/order-application-service.iml
order-management/target/
\ No newline at end of file
assortment-ordercenter-sdk/pom.xml
View file @
5b128b2c
...
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
1.2.
4
.RELEASE
</version>
<version>
1.2.
6
.RELEASE
</version>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -38,7 +38,7 @@
<dependency>
<groupId>
cn.freemud
</groupId>
<artifactId>
ordercenter-sdk
</artifactId>
<version>
1.1.
8
.RELEASE
</version>
<version>
1.1.
9
.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
assortment-ordercenter-sdk/readme.md
View file @
5b128b2c
...
...
@@ -20,3 +20,5 @@
| 1.1.8-SNAPSHOT| 预约单接单接口增加预约任务 | wuping | 2020-03-17 |
| 1.2.3.RELEASE | 预约单升级RELEASE | wuping | 2020-03-18 |
| 1.2.4.RELEASE | 紧急需求 增加骑手电话 | 海波 | 2020-03-19 |
| 1.2.5.RELEASE | 满额减配送费 | dingkai | 2020-03-26 |
| 1.2.5.RELEASE | 满额减配送费 | 海波 | 2020-03-26 |
\ No newline at end of file
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
5b128b2c
...
...
@@ -2729,6 +2729,9 @@ public class OrderSdkAdapter {
case
208
:
name
=
OrderSettlementType
.
DISCOUNT_COUPON
.
getName
();
break
;
case
1014
:
name
=
OrderSettlementType
.
FULL_DISTRIBUTION_FEE
.
getName
();
break
;
default
:
break
;
}
...
...
assortment-shoppingcart-sdk/pom.xml
View file @
5b128b2c
...
...
@@ -42,7 +42,7 @@
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
productcenter-sdk
</artifactId>
<version>
2.
7.7
-SNAPSHOT
</version>
<version>
2.
8.0
-SNAPSHOT
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/adapter/ShoppingCartAdapter.java
View file @
5b128b2c
...
...
@@ -59,7 +59,9 @@ public class ShoppingCartAdapter {
ValidateShopProductType
productType
=
new
ValidateShopProductType
();
productType
.
setSpuId
(
cartGoods
.
getSpuId
());
productType
.
setSkuId
(
ObjectUtils
.
equals
(
GoodsTypeEnum
.
SKU_GOODS
.
getGoodsType
(),
cartGoods
.
getGoodsType
())
?
cartGoods
.
getSkuId
()
:
cartGoods
.
getSpuId
());
productType
.
setPrice
(
cartGoods
.
getOriginalPrice
()
==
null
?
0
:
cartGoods
.
getOriginalPrice
().
intValue
());
// 应产品要求
// 普通商品,取商品的finalePrice(普通商品售价);套餐商品,取originalPrice(套餐价格)
productType
.
setPrice
(
cartGoods
.
getFinalPrice
()
==
null
?
0
:
cartGoods
.
getFinalPrice
().
intValue
());
productType
.
setValidatePrice
(
productType
.
getPrice
()
==
0
?
0
:
1
);
productType
.
setValidateAttribute
(
1
);
productType
.
setValidateStatuses
(
Arrays
.
asList
(
2
));
...
...
@@ -97,6 +99,7 @@ public class ShoppingCartAdapter {
validateSkuProductType
.
setMarkUpPrice
(
comboxGoods
.
getFinalPrice
()
==
null
?
0
:
comboxGoods
.
getFinalPrice
().
intValue
());
validateSkuProductType
.
setQty
(
comboxGoods
.
getQty
());
validateSkuProductType
.
setAttributeList
(
getAttributes
(
comboxGoods
.
getExtra
()));
validateSkuProductType
.
setProductGroupId
(
comboxGoods
.
getProductGroupId
());
result
.
add
(
validateSkuProductType
);
}
}
...
...
assortment-shoppingcart-sdk/src/main/java/com/freemud/sdk/api/assortment/shoppingcart/domain/CartGoods.java
View file @
5b128b2c
...
...
@@ -234,6 +234,10 @@ public class CartGoods {
*/
private
String
unit
;
/**
* 商品组Id
*/
private
Long
productGroupId
;
/**
* 配料或属性
*/
private
List
<
CartGoodsExtra
>
extra
;
...
...
order-management/order-management.iml
deleted
100644 → 0
View file @
a306209c
<?xml version="1.0" encoding="UTF-8"?>
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule=
"true"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"Spring"
name=
"Spring"
>
<configuration
/>
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
>
<output
url=
"file://$MODULE_DIR$/target/classes"
/>
<output-test
url=
"file://$MODULE_DIR$/target/test-classes"
/>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/java"
isTestSource=
"false"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/target"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: cn.freemud:assortment-ordercenter-sdk:1.1.5.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-starter-test:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-test:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-context:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-test-autoconfigure:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: com.jayway.jsonpath:json-path:2.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: net.minidev:json-smart:2.2.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: net.minidev:accessors-smart:1.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.ow2.asm:asm:5.0.3"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.assertj:assertj-core:2.6.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.mockito:mockito-core:1.10.19"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.objenesis:objenesis:2.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.hamcrest:hamcrest-core:1.3"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.hamcrest:hamcrest-library:1.3"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.skyscreamer:jsonassert:1.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-core:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework:spring-test:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.projectlombok:lombok:1.16.16"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: junit:junit:4.11"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: cn.freemud:assortment-ordercenter-sdk:1.2.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"module"
module-name=
"ordercenter-sdk"
scope=
"PROVIDED"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.google.code.gson:gson:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.freemud.commons:commons-amqp:2.1.0-release"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-amqp:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-messaging:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.apache.commons:commons-collections4:4.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.alibaba:fastjson:1.2.32"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: ma.glasnost.orika:orika-core:1.5.2"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.javassist:javassist:3.21.0-GA"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: com.thoughtworks.paranamer:paranamer:2.8"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: com.carrotsearch:java-sizeof:0.0.4"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.codehaus.janino:janino:2.7.8"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.codehaus.janino:commons-compiler:2.7.8"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: com.freemud.application.service.sdk:storecenter-sdk:2.1.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:1.4.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-starter:1.3.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-context:1.3.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.security:spring-security-rsa:1.0.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.bouncycastle:bcpkix-jdk15on:1.55"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.bouncycastle:bcprov-jdk15on:1.55"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-netflix-core:1.4.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-netflix-eureka-client:1.4.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.eureka:eureka-client:1.7.2"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.codehaus.jettison:jettison:1.3.7"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: stax:stax-api:1.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.netflix-commons:netflix-eventbus:0.3.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.netflix-commons:netflix-infix:0.3.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: commons-jxpath:commons-jxpath:1.3"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: joda-time:joda-time:2.9.9"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.antlr:antlr-runtime:3.4"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.antlr:stringtemplate:3.2.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: antlr:antlr:2.7.7"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.apache.commons:commons-math:2.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.archaius:archaius-core:0.7.5"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: javax.ws.rs:jsr311-api:1.1.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.servo:servo-core:0.10.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.servo:servo-internal:0.10.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.sun.jersey:jersey-core:1.19.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.sun.jersey:jersey-client:1.19.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.sun.jersey.contribs:jersey-apache-client4:1.19.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.google.inject:guice:4.1.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: javax.inject:javax.inject:1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: aopalliance:aopalliance:1.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-core:2.8.8"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.eureka:eureka-core:1.7.2"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.codehaus.woodstox:woodstox-core-asl:4.4.1"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: javax.xml.stream:stax-api:1.0-2"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.codehaus.woodstox:stax2-api:3.1.4"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-starter-netflix-archaius:1.4.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-configuration:commons-configuration:1.8"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-starter-netflix-ribbon:1.4.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.ribbon:ribbon:2.2.5"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.ribbon:ribbon-transport:2.2.5"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.reactivex:rxnetty-contexts:0.4.9"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.reactivex:rxnetty-servo:0.4.9"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.hystrix:hystrix-core:1.4.3"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.reactivex:rxnetty:0.4.9"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-codec-http:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-codec:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-handler:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-transport-native-epoll:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-common:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-buffer:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: io.netty:netty-transport:4.0.27.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.ribbon:ribbon-core:2.2.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.ribbon:ribbon-httpclient:2.2.5"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: commons-collections:commons-collections:3.2.2"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.netflix-commons:netflix-commons-util:0.1.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.ribbon:ribbon-loadbalancer:2.2.5"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.netflix.netflix-commons:netflix-statistics:0.1.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: io.reactivex:rxjava:1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.netflix.ribbon:ribbon-eureka:2.2.5"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.thoughtworks.xstream:xstream:1.4.10"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: xmlpull:xmlpull:1.1.3.1"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: xpp3:xpp3_min:1.1.4c"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-web:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-logging:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:jcl-over-slf4j:1.7.25"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:jul-to-slf4j:1.7.25"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:log4j-over-slf4j:1.7.25"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: org.yaml:snakeyaml:1.17"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.14"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.14"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.14"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-databind:2.8.8"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-web:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-beans:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-webmvc:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-expression:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.httpcomponents:httpclient:4.5.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.apache.httpcomponents:httpcore:4.4.6"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-codec:commons-codec:1.10"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.hibernate:hibernate-validator:5.3.5.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: javax.validation:validation-api:1.1.0.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.jboss.logging:jboss-logging:3.3.1.Final"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-commons:1.3.1.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.security:spring-security-crypto:4.2.2.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-classic:1.1.11"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-core:1.1.11"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: ch.qos.logback:logback-access:1.1.11"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.freemud.application.service.sdk:deliverycenter-sdk:1.1.3-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.freemud.application.service.sdk:sdk-common-base:1.3.9-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.amqp:spring-amqp:1.7.2.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.amqp:spring-rabbit:1.7.2.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.rabbitmq:http-client:1.1.1.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.rabbitmq:amqp-client:4.0.2"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-tx:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.retry:spring-retry:1.2.0.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.freemud.commons:commons-base:1.5.1-release"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-aop:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework:spring-aop:4.3.8.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.aspectj:aspectjweaver:1.8.10"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: commons-lang:commons-lang:2.6"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-swagger2:2.7.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.swagger:swagger-annotations:1.5.13"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.swagger:swagger-models:1.5.13"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-spi:2.7.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-core:2.7.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: net.bytebuddy:byte-buddy:1.6.14"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-schema:2.7.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-swagger-common:2.7.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-spring-web:2.7.0"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.reflections:reflections:0.9.11"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.google.guava:guava:18.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.fasterxml:classmate:1.3.3"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.slf4j:slf4j-api:1.7.25"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.mapstruct:mapstruct:1.1.0.Final"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: io.springfox:springfox-swagger-ui:2.7.0"
level=
"project"
/>
</component>
</module>
\ No newline at end of file
ordercenter-sdk/pom.xml
View file @
5b128b2c
...
...
@@ -8,7 +8,7 @@
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.1.
8
.RELEASE
</version>
<version>
1.1.
9
.RELEASE
</version>
<artifactId>
ordercenter-sdk
</artifactId>
<dependencies>
...
...
ordercenter-sdk/readme.md
View file @
5b128b2c
...
...
@@ -13,3 +13,4 @@
| 1.1.7-SNAPSHOT | 预约单支付成功接口增加预约任务 | wuping | 2020-03-10 |
| 1.1.8-SNAPSHOT | 预约单接单接口增加预约任务 | wuping | 2020-03-17 |
| 1.1.8.RELEASE | 预约单升级RELEASE | wuping | 2020-03-18 |
| 1.1.9.RELEASE | 满额减配送费RELEASE | dingkai | 2020-03-26 |
\ No newline at end of file
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/OrderSettlementType.java
View file @
5b128b2c
...
...
@@ -40,8 +40,8 @@ public enum OrderSettlementType {
DISCOUNT_FEE
(
205
,
"优惠总金额"
),
ITEM_SPECIAL_PRICE
(
206
,
"单品特价"
),
ONE_BY_ONE
(
207
,
"买一送一"
),
DISCOUNT_COUPON
(
208
,
"折扣券"
)
DISCOUNT_COUPON
(
208
,
"折扣券"
)
,
FULL_DISTRIBUTION_FEE
(
1014
,
"满减配送费"
),
;
private
int
index
;
private
String
name
;
...
...
shopping-cart-application-service/pom.xml
View file @
5b128b2c
...
...
@@ -35,7 +35,7 @@
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
<artifactId>
productcenter-sdk
</artifactId>
<version>
2.
7.7
-SNAPSHOT
</version>
<version>
2.
8.0
-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
shopping-cart-application-service/src/main/java/cn/freemud/adapter/ShoppingCartConvertAdapter.java
View file @
5b128b2c
...
...
@@ -363,6 +363,7 @@ public class ShoppingCartConvertAdapter {
productCombox
.
setSkuId
(
vo
.
getSkuId
());
productCombox
.
setQty
(
vo
.
getQty
());
productCombox
.
setExtra
(
vo
.
getExtra
());
productCombox
.
setProductGroupId
(
StringUtils
.
isEmpty
(
vo
.
getProductGroupId
())?
null
:
Long
.
parseLong
(
vo
.
getProductGroupId
()));
productGroupList
.
add
(
productCombox
);
}
}
...
...
shopping-cart-application-service/src/main/java/cn/freemud/constant/ApplicationConstant.java
View file @
5b128b2c
...
...
@@ -18,7 +18,7 @@ public class ApplicationConstant {
public
final
static
String
BURYINGPOINT
=
"POINT"
;
public
final
static
String
DELIVERY_DISCOUNT_DESC1
=
"订单满%
d元 减%d
配送费"
;
public
final
static
String
DELIVERY_DISCOUNT_DESC2
=
"订单满%
d元
免配送费"
;
public
final
static
String
DELIVERY_DISCOUNT_DESC1
=
"订单满%
s元减%s元
配送费"
;
public
final
static
String
DELIVERY_DISCOUNT_DESC2
=
"订单满%
s元
免配送费"
;
public
final
static
String
DELIVERY_DISCOUNT_DESC3
=
"另需配送费%s元"
;
}
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/CartGoods.java
View file @
5b128b2c
...
...
@@ -242,6 +242,10 @@ public class CartGoods {
* 第三方商品编号
*/
private
String
customerCode
;
/**
* 商品组Id
*/
private
Long
productGroupId
;
@Override
public
int
hashCode
()
{
...
...
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ComboxGoodsRequestVo.java
View file @
5b128b2c
...
...
@@ -22,6 +22,10 @@ public class ComboxGoodsRequestVo {
private
String
skuId
;
private
Integer
qty
;
/**
* 商品组Id
*/
private
String
productGroupId
;
/**
* 商品额外的属性
*/
List
<
CartGoods
.
CartGoodsExtra
>
extra
;
...
...
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartGoodsResponseVo.java
View file @
5b128b2c
...
...
@@ -45,10 +45,6 @@ public class ShoppingCartGoodsResponseVo extends ShoppingCartGoodsBaseResponseV
* 总折扣价
*/
private
Long
totalDiscountAmount
;
/**
* 包装费
*/
private
Long
packAmount
;
/**
* 新包装费(该字段给新版本前端展示,使其好计算)
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/BuySendPromotionService.java
View file @
5b128b2c
...
...
@@ -106,8 +106,8 @@ public class BuySendPromotionService implements IPromotionService {
activityTip
.
setActivitySpuIds
(
activitySpuIds
);
// 当maxNum>=minNum,在加入买一赠一商品时提示“您参加的买赠优惠最多赠送N件哦~”
shoppingCartGoodsResponseVo
.
setBuyOneGetActivity
(
activityTip
);
Long
packAmount
=
Objects
.
isNull
(
shoppingCartGoodsResponseVo
.
get
PackAmount
())
?
0L
:
shoppingCartGoodsResponseVo
.
get
PackAmount
();
shoppingCartGoodsResponseVo
.
setPackAmount
(
givePackAmount
+
packAmount
);
Long
packAmount
=
Objects
.
isNull
(
shoppingCartGoodsResponseVo
.
get
NewPackAmount
())
?
0L
:
shoppingCartGoodsResponseVo
.
getNew
PackAmount
();
shoppingCartGoodsResponseVo
.
set
New
PackAmount
(
givePackAmount
+
packAmount
);
Long
originalTotalAmount
=
Objects
.
isNull
(
shoppingCartGoodsResponseVo
.
getOriginalTotalAmount
())
?
0L
:
shoppingCartGoodsResponseVo
.
getOriginalTotalAmount
();
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
originalTotalAmount
+
giveTotalAmount
);
Long
totalDiscountAmount
=
Objects
.
isNull
(
shoppingCartGoodsResponseVo
.
getTotalDiscountAmount
())
?
0L
:
shoppingCartGoodsResponseVo
.
getTotalDiscountAmount
();
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/DefaultPromotionService.java
View file @
5b128b2c
...
...
@@ -65,7 +65,6 @@ public class DefaultPromotionService implements IPromotionService {
}
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
calculationDiscountResult
==
null
?
totalOriginalAmount
:
calculationDiscountResult
.
getOriginalTotalAmount
());
shoppingCartGoodsResponseVo
.
setTotalAmount
(
calculationDiscountResult
==
null
?
totalAmount
:
calculationDiscountResult
.
getTotalAmount
());
shoppingCartGoodsResponseVo
.
setPackAmount
(
totalPackgeAmount
);
shoppingCartGoodsResponseVo
.
setNewPackAmount
(
totalPackgeAmount
);
shoppingCartGoodsResponseVo
.
setTotalDiscountAmount
(
calculationDiscountResult
==
null
?
0L
:
calculationDiscountResult
.
getTotalDiscountAmount
());
}
...
...
@@ -80,7 +79,7 @@ public class DefaultPromotionService implements IPromotionService {
shoppingCartGoodsDto
.
setOriginalTotalAmount
(
shoppingCartGoodsResponseVo
.
getOriginalTotalAmount
());
shoppingCartGoodsDto
.
setTotalAmount
(
shoppingCartGoodsResponseVo
.
getTotalAmount
());
shoppingCartGoodsDto
.
setTotalDiscountAmount
(
shoppingCartGoodsResponseVo
.
getTotalDiscountAmount
());
shoppingCartGoodsDto
.
setPackageAmount
(
shoppingCartGoodsResponseVo
.
getPackAmount
());
shoppingCartGoodsDto
.
setPackageAmount
(
shoppingCartGoodsResponseVo
.
get
New
PackAmount
());
List
<
CartGoods
>
cartGoodsList
=
shoppingCartGoodsResponseVo
.
getProducts
();
List
<
ActivityCalculationDiscountResponseDto
.
CalculationDiscountResult
.
ApportionGoods
>
apportionGoodsList
=
calculationDiscountResult
==
null
?
new
ArrayList
<>()
:
calculationDiscountResult
.
getApportionGoods
();
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
View file @
5b128b2c
...
...
@@ -1006,7 +1006,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
*/
if
(
BusinessTypeEnum
.
SAAS_DELIVERY
.
getCode
().
equals
(
menuType
))
{
DecimalFormat
df
=
new
DecimalFormat
(
"###.##"
);
List
<
ActivityTypeEnum
>
activityTypeEnums
=
new
LinkedList
<>();
activityTypeEnums
.
add
(
ActivityTypeEnum
.
TYPE_14
);
...
...
@@ -1032,10 +1032,10 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
if
(
discount
!=
null
){
if
(
beanDto
.
getBenefitType
()
==
1
){
String
desc
=
DELIVERY_DISCOUNT_DESC2
;
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
beanDto
.
getThresholdAmount
()
/
100
));
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
df
.
format
(
beanDto
.
getThresholdAmount
().
doubleValue
()
/
100
)
));
}
else
{
String
desc
=
DELIVERY_DISCOUNT_DESC1
;
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
beanDto
.
getThresholdAmount
()
/
100
,
beanDto
.
getDiscountAmount
()
/
100
));
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
df
.
format
(
beanDto
.
getThresholdAmount
().
doubleValue
()
/
100
)
,
df
.
format
(
beanDto
.
getDiscountAmount
().
doubleValue
()
/
100
)
));
}
shoppingCartGoodsResponseVo
.
setDeliveryAmount
(
calculationDiscountResult
.
getDeliveryAmount
());
shoppingCartGoodsResponseVo
.
setDiscountDeliveryAmount
(
calculationDiscountResult
.
getDistributionFee
());
...
...
@@ -1047,10 +1047,10 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
if
(
beanDto
.
getBenefitType
()
==
1
){
String
desc
=
DELIVERY_DISCOUNT_DESC2
;
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
beanDto
.
getThresholdAmount
()
/
100
));
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
df
.
format
(
beanDto
.
getThresholdAmount
().
doubleValue
()
/
100
)
));
}
else
{
String
desc
=
DELIVERY_DISCOUNT_DESC1
;
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
beanDto
.
getThresholdAmount
()
/
100
,
beanDto
.
getDiscountAmount
()
/
100
));
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
df
.
format
(
beanDto
.
getThresholdAmount
().
doubleValue
()
/
100
),
df
.
format
(
beanDto
.
getDiscountAmount
().
doubleValue
()
/
100
)
));
}
shoppingCartGoodsResponseVo
.
setDeliveryAmount
(
deliveryAmount
);
...
...
@@ -1058,7 +1058,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
shoppingCartGoodsResponseVo
.
setIsDiscountDelivery
(
false
);
}
else
{
DecimalFormat
df
=
new
DecimalFormat
(
"###.##"
);
//
DecimalFormat df = new DecimalFormat("###.##");
String
desc
=
DELIVERY_DISCOUNT_DESC3
;
shoppingCartGoodsResponseVo
.
setDeliveryDiscountDesc
(
String
.
format
(
desc
,
df
.
format
(
deliveryAmount
.
doubleValue
()
/
100
)));
shoppingCartGoodsResponseVo
.
setDeliveryAmount
(
deliveryAmount
);
...
...
@@ -1268,26 +1268,22 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
}
}
// 给前端展示
shoppingCartGoodsResponseVo
.
setNewPackAmount
(
shoppingCartGoodsResponseVo
.
getPackAmount
());
// 更新和添加商品时不需要包装费
if
(
ShoppingCartConstant
.
ADD_AND_UPDATE
.
equals
(
opt
))
{
shoppingCartGoodsResponseVo
.
setPackAmount
(
null
);
shoppingCartGoodsResponseVo
.
set
New
PackAmount
(
null
);
return
;
}
//========================== 购物车查询特有逻辑 =================================
// 到店自取包装费设为null,外卖要计算包装费,flag为1表示去结算
// 兼容老版本判断null
if
(
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getOrderType
(),
CreateOrderType
.
COLLECT_GOODS
.
getCode
())
&&
(
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getReachStoreType
(),
null
)
||
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getReachStoreType
(),
OrderType
.
EAT_IN
.
getCode
())))
{
shoppingCartGoodsResponseVo
.
setPackAmount
(
null
);
shoppingCartGoodsResponseVo
.
set
New
PackAmount
(
null
);
}
else
if
((
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getOrderType
(),
CreateOrderType
.
TAKE_OUT
.
getCode
())
||
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getReachStoreType
(),
OrderType
.
COLLECT_GOODS
.
getCode
()))
&&
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getFlag
(),
CouponFlag
.
YES
.
getCode
()))
{
Long
packAmount
=
shoppingCartGoodsResponseVo
.
get
PackAmount
()
==
null
?
0
:
shoppingCartGoodsResponseVo
.
get
PackAmount
();
Long
packAmount
=
shoppingCartGoodsResponseVo
.
get
NewPackAmount
()
==
null
?
0
:
shoppingCartGoodsResponseVo
.
getNew
PackAmount
();
Long
originalTotalAmount
=
shoppingCartGoodsResponseVo
.
getOriginalTotalAmount
()
+
packAmount
;
Long
totalAmount
=
shoppingCartGoodsResponseVo
.
getTotalAmount
()
+
packAmount
;
shoppingCartGoodsResponseVo
.
setOriginalTotalAmount
(
originalTotalAmount
);
...
...
@@ -1489,9 +1485,8 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
}
private
Long
calculateDeliveryAmount
(
String
receiveId
,
String
partnerId
,
String
storeId
,
String
wxappid
){
Long
deliveryAmount
=
0
l
;
Long
deliveryAmount
=
0
l
;
if
(
receiveId
==
null
)
{
}
else
{
deliveryAmount
=
Long
.
parseLong
(
getDeliveryAmount
(
receiveId
,
partnerId
,
storeId
).
toString
());
}
...
...
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