Commit ef1837d2 by ping.wu

Merge branches 'develop' and 'feature/20200820_哗啦啦产品分类名称_wuping' of…

Merge branches 'develop' and 'feature/20200820_哗啦啦产品分类名称_wuping' of http://gitlab.freemud.com/order-group-application/order-group into develop

# Conflicts:
#	assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/CreateOrderProductRequest.java
#	assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/request/order/OrderProductAddInfoDto.java
#	order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
#	order-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
#	order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
parents c2376eec 745eb004
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<dependency> <dependency>
<artifactId>couponcenter-sdk</artifactId> <artifactId>couponcenter-sdk</artifactId>
<groupId>com.freemud.application.service.sdk</groupId> <groupId>com.freemud.application.service.sdk</groupId>
<version>1.11.0-SNAPSHOT</version> <version>1.10.2.RELEASE</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -2596,8 +2596,9 @@ public class OrderSdkAdapter { ...@@ -2596,8 +2596,9 @@ public class OrderSdkAdapter {
if (StringUtils.isNotBlank(product.getThirdCategoryId())){ if (StringUtils.isNotBlank(product.getThirdCategoryId())){
extInfo.setThirdCategoryId(product.getThirdCategoryId()); extInfo.setThirdCategoryId(product.getThirdCategoryId());
} }
if (StringUtils.isNotBlank(product.getCategory())){ if (StringUtils.isNotBlank(product.getClassificationId())){
extInfo.setThirdCensusCategoryId(product.getCategory()); extInfo.setThirdCensusCategoryId(product.getClassificationId());
extInfo.setThirdCensusCategoryId(product.getSetClassificationName());
} }
if (0 != product.getTax()){ if (0 != product.getTax()){
extInfo.setTax(product.getTax()); extInfo.setTax(product.getTax());
......
...@@ -166,11 +166,13 @@ public class CreateOrderProductRequest extends BaseConfig { ...@@ -166,11 +166,13 @@ public class CreateOrderProductRequest extends BaseConfig {
/** 是否主食**/ /** 是否主食**/
private Integer stapleFood; private Integer stapleFood;
/** 商品统计分类编号**/
private String category;
/** 商品税率**/ /** 商品税率**/
private double tax; private double tax;
private String taxId; private String taxId;
/** 商品统计分类编号**/
private String classificationId;
private String setClassificationName;
} }
...@@ -62,7 +62,13 @@ public class OrderProductAddInfoDto extends BaseConfig { ...@@ -62,7 +62,13 @@ public class OrderProductAddInfoDto extends BaseConfig {
*/ */
private String thirdCensusCategoryId; private String thirdCensusCategoryId;
/**
* 商品统计分类名称
*/
private String thirdCensusCategoryName;
private double tax; private double tax;
private String taxId; private String taxId;
} }
...@@ -8,4 +8,4 @@ app.id=SHOP_OPEN_STORE ...@@ -8,4 +8,4 @@ app.id=SHOP_OPEN_STORE
apollo.meta=http://open-store-apollo-configservice-pro.open-store.svc:8080 apollo.meta=http://open-store-apollo-configservice-pro.open-store.svc:8080
env=pro env=pro
apollo.bootstrap.enabled=true apollo.bootstrap.enabled=true
apollo.bootstrap.namespaces=micro_progeram_commons,i_callback_service apollo.bootstrap.namespaces=i_callback_service,micro_progeram_commons
\ No newline at end of file \ No newline at end of file
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<dependency> <dependency>
<artifactId>couponcenter-sdk</artifactId> <artifactId>couponcenter-sdk</artifactId>
<groupId>com.freemud.application.service.sdk</groupId> <groupId>com.freemud.application.service.sdk</groupId>
<version>1.11.0-SNAPSHOT</version> <version>1.10.2.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.freemud</groupId> <groupId>cn.freemud</groupId>
......
...@@ -2131,9 +2131,10 @@ public class OrderAdapter { ...@@ -2131,9 +2131,10 @@ public class OrderAdapter {
createOrderProductDemoDto.setWeight(cartGoodsDetailDto.getWeight()); createOrderProductDemoDto.setWeight(cartGoodsDetailDto.getWeight());
createOrderProductDemoDto.setUnit(cartGoodsDetailDto.getUnit()); createOrderProductDemoDto.setUnit(cartGoodsDetailDto.getUnit());
createOrderProductDemoDto.setStapleFood(0); createOrderProductDemoDto.setStapleFood(0);
createOrderProductDemoDto.setCategory(cartGoodsDetailDto.getClassificationId());
createOrderProductDemoDto.setTax(cartGoodsDetailDto.getTax()); createOrderProductDemoDto.setTax(cartGoodsDetailDto.getTax());
createOrderProductDemoDto.setTaxId(cartGoodsDetailDto.getTaxId()); createOrderProductDemoDto.setTaxId(cartGoodsDetailDto.getTaxId());
createOrderProductDemoDto.setClassificationId(cartGoodsDetailDto.getClassificationId());
createOrderProductDemoDto.setSetClassificationName(cartGoodsDetailDto.getSetClassificationName());
return createOrderProductDemoDto; return createOrderProductDemoDto;
} }
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
package cn.freemud; package cn.freemud;
import cn.freemud.core.db.DataSourcesConfig; import cn.freemud.core.db.DataSourcesConfig;
import com.alibaba.fastjson.parser.ParserConfig;
import com.freemud.application.sdk.api.log.LogThreadLocal; import com.freemud.application.sdk.api.log.LogThreadLocal;
import feign.RequestInterceptor; import feign.RequestInterceptor;
import org.jasypt.encryption.StringEncryptor; import org.jasypt.encryption.StringEncryptor;
...@@ -48,6 +49,7 @@ import tk.mybatis.spring.annotation.MapperScan; ...@@ -48,6 +49,7 @@ import tk.mybatis.spring.annotation.MapperScan;
@EnableAsync @EnableAsync
public class ShoppingCartApplication { public class ShoppingCartApplication {
public static void main(String[] args) { public static void main(String[] args) {
ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
SpringApplication.run(ShoppingCartApplication.class, args); SpringApplication.run(ShoppingCartApplication.class, args);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment