Commit adde92b2 by chongfu.liang

fix

parent 5ffa7617
...@@ -22,7 +22,7 @@ public class ServiceFactory { ...@@ -22,7 +22,7 @@ public class ServiceFactory {
if (BizTypeEnum.MCOFFEE.getCode().equals(bizType)) { if (BizTypeEnum.MCOFFEE.getCode().equals(bizType)) {
// abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(MCoffeeAddGoodsService.class); // abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(MCoffeeAddGoodsService.class);
} else { } else {
abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(AbstractUpdateGoodsQtyService.class); abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(PlatformUpdateGoodsQtyService.class);
} }
return abstractUpdateGoodsQtyService; return abstractUpdateGoodsQtyService;
} }
...@@ -33,7 +33,7 @@ public class ServiceFactory { ...@@ -33,7 +33,7 @@ public class ServiceFactory {
if (BizTypeEnum.MCOFFEE.getCode().equals(bizType)) { if (BizTypeEnum.MCOFFEE.getCode().equals(bizType)) {
// abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(MCoffeeAddGoodsService.class); // abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(MCoffeeAddGoodsService.class);
} else { } else {
abstractListCartGoodsService = ApplicationContextWareBean.getBean(AbstractListCartGoodsService.class); abstractListCartGoodsService = ApplicationContextWareBean.getBean(PlatformListCartGoodsService.class);
} }
return abstractListCartGoodsService; return abstractListCartGoodsService;
} }
...@@ -44,7 +44,7 @@ public class ServiceFactory { ...@@ -44,7 +44,7 @@ public class ServiceFactory {
if (BizTypeEnum.MCOFFEE.getCode().equals(bizType)) { if (BizTypeEnum.MCOFFEE.getCode().equals(bizType)) {
// abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(MCoffeeAddGoodsService.class); // abstractUpdateGoodsQtyService = ApplicationContextWareBean.getBean(MCoffeeAddGoodsService.class);
} else { } else {
abstractGetShoppingCartGoodsApportionService = ApplicationContextWareBean.getBean(AbstractApportionService.class); abstractGetShoppingCartGoodsApportionService = ApplicationContextWareBean.getBean(PlatformApportionService.class);
} }
return abstractGetShoppingCartGoodsApportionService; return abstractGetShoppingCartGoodsApportionService;
} }
......
...@@ -63,9 +63,6 @@ public class AbstractApportionService implements GetShoppingCartGoodsApportionSe ...@@ -63,9 +63,6 @@ public class AbstractApportionService implements GetShoppingCartGoodsApportionSe
private ProductManager productManager; private ProductManager productManager;
@Autowired @Autowired
private CouponManager couponManager;
@Autowired
private AssortmentSdkService assortmentSdkService; private AssortmentSdkService assortmentSdkService;
@Autowired @Autowired
......
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