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
4e2da145
Commit
4e2da145
authored
Aug 20, 2020
by
zhiheng.zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
16983adb
7732df18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
28 additions
and
13 deletions
+28
-13
assortment-ordercenter-sdk/pom.xml
+2
-2
assortment-ordercenter-sdk/readme.md
+2
-0
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+3
-2
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
+5
-3
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/OrderProductAddInfoDto.java
+6
-0
call-back-service/src/main/resources/application-pro.properties
+2
-2
order-application-service/pom.xml
+2
-2
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+4
-2
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
+0
-0
shopping-cart-application-service/src/main/java/cn/freemud/ShoppingCartApplication.java
+2
-0
No files found.
assortment-ordercenter-sdk/pom.xml
View file @
4e2da145
...
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
2.0.1
3
-SNAPSHOT
</version>
<version>
2.0.1
4
-SNAPSHOT
</version>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -26,7 +26,7 @@
<dependency>
<artifactId>
couponcenter-sdk
</artifactId>
<groupId>
com.freemud.application.service.sdk
</groupId>
<version>
1.1
1.0-SNAPSHOT
</version>
<version>
1.1
0.2.RELEASE
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
assortment-ordercenter-sdk/readme.md
View file @
4e2da145
...
...
@@ -82,3 +82,4 @@
| 2.0.11-SNAPSHOT| 麦咖啡| 谌会阳 |2020-08-08
| 2.0.12-SNAPSHOT| OrderSourceType 调整 | 谌会阳 |2020-08-10
| 2.0.13-SNAPSHOT| 加料商品 | 谌会阳 |2020-08-14
| 2.0.14-SNAPSHOT| 商品统计分类名称保存 | wuping | 2020-08-20 |
\ No newline at end of file
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
4e2da145
...
...
@@ -2596,8 +2596,9 @@ public class OrderSdkAdapter {
if
(
StringUtils
.
isNotBlank
(
product
.
getThirdCategoryId
())){
extInfo
.
setThirdCategoryId
(
product
.
getThirdCategoryId
());
}
if
(
StringUtils
.
isNotBlank
(
product
.
getCategory
())){
extInfo
.
setThirdCensusCategoryId
(
product
.
getCategory
());
if
(
StringUtils
.
isNotBlank
(
product
.
getClassificationId
())){
extInfo
.
setThirdCensusCategoryId
(
product
.
getClassificationId
());
extInfo
.
setThirdCensusCategoryId
(
product
.
getSetClassificationName
());
}
if
(
0
!=
product
.
getTax
()){
extInfo
.
setTax
(
product
.
getTax
());
...
...
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
View file @
4e2da145
...
...
@@ -166,11 +166,13 @@ public class CreateOrderProductRequest extends BaseConfig {
/** 是否主食**/
private
Integer
stapleFood
;
/** 商品统计分类编号**/
private
String
category
;
/** 商品税率**/
private
double
tax
;
private
String
taxId
;
/** 商品统计分类编号**/
private
String
classificationId
;
private
String
setClassificationName
;
}
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/OrderProductAddInfoDto.java
View file @
4e2da145
...
...
@@ -62,7 +62,13 @@ public class OrderProductAddInfoDto extends BaseConfig {
*/
private
String
thirdCensusCategoryId
;
/**
* 商品统计分类名称
*/
private
String
thirdCensusCategoryName
;
private
double
tax
;
private
String
taxId
;
}
call-back-service/src/main/resources/application-pro.properties
View file @
4e2da145
...
...
@@ -8,4 +8,4 @@ app.id=SHOP_OPEN_STORE
apollo.meta
=
http://open-store-apollo-configservice-pro.open-store.svc:8080
env
=
pro
apollo.bootstrap.enabled
=
true
apollo.bootstrap.namespaces
=
micro_progeram_commons,i_callback_service
\ No newline at end of file
apollo.bootstrap.namespaces
=
i_callback_service,micro_progeram_commons
\ No newline at end of file
order-application-service/pom.xml
View file @
4e2da145
...
...
@@ -35,12 +35,12 @@
<dependency>
<artifactId>
couponcenter-sdk
</artifactId>
<groupId>
com.freemud.application.service.sdk
</groupId>
<version>
1.1
1.0-SNAPSHOT
</version>
<version>
1.1
0.2.RELEASE
</version>
</dependency>
<dependency>
<groupId>
cn.freemud
</groupId>
<artifactId>
assortment-ordercenter-sdk
</artifactId>
<version>
2.0.1
3
-SNAPSHOT
</version>
<version>
2.0.1
4
-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.freemud.application.service.sdk
</groupId>
...
...
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
4e2da145
...
...
@@ -2102,7 +2102,8 @@ public class OrderAdapter {
createOrderProductDemoDto
.
setWeight
(
cartGoodsDetailDto
.
getWeight
());
createOrderProductDemoDto
.
setUnit
(
cartGoodsDetailDto
.
getUnit
());
createOrderProductDemoDto
.
setStapleFood
(
0
);
createOrderProductDemoDto
.
setCategory
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setSetClassificationName
(
cartGoodsDetailDto
.
getSetClassificationName
());
if
(
CollectionUtils
.
isNotEmpty
(
cartGoodsDetailDto
.
getActivityDiscountsDtos
()))
{
createOrderProductDemoDto
.
setAccounts
(
getMaterialAccounts
(
createOrderProductDemoDto
,
cartGoodsDetailDto
));
}
...
...
@@ -2131,9 +2132,10 @@ public class OrderAdapter {
createOrderProductDemoDto
.
setWeight
(
cartGoodsDetailDto
.
getWeight
());
createOrderProductDemoDto
.
setUnit
(
cartGoodsDetailDto
.
getUnit
());
createOrderProductDemoDto
.
setStapleFood
(
0
);
createOrderProductDemoDto
.
setCategory
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setTax
(
cartGoodsDetailDto
.
getTax
());
createOrderProductDemoDto
.
setTaxId
(
cartGoodsDetailDto
.
getTaxId
());
createOrderProductDemoDto
.
setClassificationId
(
cartGoodsDetailDto
.
getClassificationId
());
createOrderProductDemoDto
.
setSetClassificationName
(
cartGoodsDetailDto
.
getSetClassificationName
());
return
createOrderProductDemoDto
;
}
...
...
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
View file @
4e2da145
This diff is collapsed.
Click to expand it.
shopping-cart-application-service/src/main/java/cn/freemud/ShoppingCartApplication.java
View file @
4e2da145
...
...
@@ -13,6 +13,7 @@
package
cn
.
freemud
;
import
cn.freemud.core.db.DataSourcesConfig
;
import
com.alibaba.fastjson.parser.ParserConfig
;
import
com.freemud.application.sdk.api.log.LogThreadLocal
;
import
feign.RequestInterceptor
;
import
org.jasypt.encryption.StringEncryptor
;
...
...
@@ -48,6 +49,7 @@ import tk.mybatis.spring.annotation.MapperScan;
@EnableAsync
public
class
ShoppingCartApplication
{
public
static
void
main
(
String
[]
args
)
{
ParserConfig
.
getGlobalInstance
().
setAutoTypeSupport
(
true
);
SpringApplication
.
run
(
ShoppingCartApplication
.
class
,
args
);
}
...
...
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