Commit c11300d33a3ce397abf3190e244eb48739b2215e

Authored by YunaiV
1 parent a4aa1fac

解决启动问题

@@ -15,12 +15,12 @@ @@ -15,12 +15,12 @@
15 <!-- 各种 module 拓展 --> 15 <!-- 各种 module 拓展 -->
16 <module>yudao-module-system</module> 16 <module>yudao-module-system</module>
17 <module>yudao-module-infra</module> 17 <module>yudao-module-infra</module>
18 - <module>yudao-module-member</module>  
19 - <module>yudao-module-bpm</module>  
20 - <module>yudao-module-report</module>  
21 - <module>yudao-module-mp</module>  
22 - <module>yudao-module-pay</module>  
23 - <module>yudao-module-mall</module> 18 +<!-- <module>yudao-module-member</module>-->
  19 +<!-- <module>yudao-module-bpm</module>-->
  20 +<!-- <module>yudao-module-report</module>-->
  21 +<!-- <module>yudao-module-mp</module>-->
  22 +<!-- <module>yudao-module-pay</module>-->
  23 +<!-- <module>yudao-module-mall</module>-->
24 <!-- 示例项目 --> 24 <!-- 示例项目 -->
25 <!-- <module>yudao-example</module>--> 25 <!-- <module>yudao-example</module>-->
26 </modules> 26 </modules>
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/api/coupon/CouponTemplateApiImpl.java deleted
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/combination/CombinationRecordServiceImpl.java
@@ -24,6 +24,7 @@ import cn.iocoder.yudao.module.promotion.dal.mysql.combination.CombinationRecord @@ -24,6 +24,7 @@ import cn.iocoder.yudao.module.promotion.dal.mysql.combination.CombinationRecord
24 import cn.iocoder.yudao.module.promotion.enums.combination.CombinationRecordStatusEnum; 24 import cn.iocoder.yudao.module.promotion.enums.combination.CombinationRecordStatusEnum;
25 import cn.iocoder.yudao.module.trade.api.order.TradeOrderApi; 25 import cn.iocoder.yudao.module.trade.api.order.TradeOrderApi;
26 import lombok.extern.slf4j.Slf4j; 26 import lombok.extern.slf4j.Slf4j;
  27 +import org.springframework.context.annotation.Lazy;
27 import org.springframework.stereotype.Service; 28 import org.springframework.stereotype.Service;
28 import org.springframework.transaction.annotation.Transactional; 29 import org.springframework.transaction.annotation.Transactional;
29 import org.springframework.validation.annotation.Validated; 30 import org.springframework.validation.annotation.Validated;
@@ -64,6 +65,7 @@ public class CombinationRecordServiceImpl implements CombinationRecordService { @@ -64,6 +65,7 @@ public class CombinationRecordServiceImpl implements CombinationRecordService {
64 private ProductSkuApi productSkuApi; 65 private ProductSkuApi productSkuApi;
65 66
66 @Resource 67 @Resource
  68 + @Lazy
67 private TradeOrderApi tradeOrderApi; 69 private TradeOrderApi tradeOrderApi;
68 70
69 // TODO @芋艿:在详细预览下; 71 // TODO @芋艿:在详细预览下;
yudao-server/pom.xml
@@ -37,59 +37,59 @@ @@ -37,59 +37,59 @@
37 </dependency> 37 </dependency>
38 38
39 <!-- 会员中心。默认注释,保证编译速度 --> 39 <!-- 会员中心。默认注释,保证编译速度 -->
40 - <dependency>  
41 - <groupId>cn.iocoder.boot</groupId>  
42 - <artifactId>yudao-module-member-biz</artifactId>  
43 - <version>${revision}</version>  
44 - </dependency> 40 +<!-- <dependency>-->
  41 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  42 +<!-- <artifactId>yudao-module-member-biz</artifactId>-->
  43 +<!-- <version>${revision}</version>-->
  44 +<!-- </dependency>-->
45 45
46 <!-- 数据报表。默认注释,保证编译速度 --> 46 <!-- 数据报表。默认注释,保证编译速度 -->
47 - <dependency>  
48 - <groupId>cn.iocoder.boot</groupId>  
49 - <artifactId>yudao-module-report-biz</artifactId>  
50 - <version>${revision}</version>  
51 - </dependency> 47 +<!-- <dependency>-->
  48 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  49 +<!-- <artifactId>yudao-module-report-biz</artifactId>-->
  50 +<!-- <version>${revision}</version>-->
  51 +<!-- </dependency>-->
52 <!-- 工作流。默认注释,保证编译速度 --> 52 <!-- 工作流。默认注释,保证编译速度 -->
53 - <dependency>  
54 - <groupId>cn.iocoder.boot</groupId>  
55 - <artifactId>yudao-module-bpm-biz</artifactId>  
56 - <version>${revision}</version>  
57 - </dependency> 53 +<!-- <dependency>-->
  54 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  55 +<!-- <artifactId>yudao-module-bpm-biz</artifactId>-->
  56 +<!-- <version>${revision}</version>-->
  57 +<!-- </dependency>-->
58 <!-- 支付服务。默认注释,保证编译速度 --> 58 <!-- 支付服务。默认注释,保证编译速度 -->
59 - <dependency>  
60 - <groupId>cn.iocoder.boot</groupId>  
61 - <artifactId>yudao-module-pay-biz</artifactId>  
62 - <version>${revision}</version>  
63 - </dependency> 59 +<!-- <dependency>-->
  60 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  61 +<!-- <artifactId>yudao-module-pay-biz</artifactId>-->
  62 +<!-- <version>${revision}</version>-->
  63 +<!-- </dependency>-->
64 64
65 <!-- 微信公众号模块。默认注释,保证编译速度 --> 65 <!-- 微信公众号模块。默认注释,保证编译速度 -->
66 - <dependency>  
67 - <groupId>cn.iocoder.boot</groupId>  
68 - <artifactId>yudao-module-mp-biz</artifactId>  
69 - <version>${revision}</version>  
70 - </dependency> 66 +<!-- <dependency>-->
  67 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  68 +<!-- <artifactId>yudao-module-mp-biz</artifactId>-->
  69 +<!-- <version>${revision}</version>-->
  70 +<!-- </dependency>-->
71 71
72 <!-- 商城相关模块。默认注释,保证编译速度--> 72 <!-- 商城相关模块。默认注释,保证编译速度-->
73 - <dependency>  
74 - <groupId>cn.iocoder.boot</groupId>  
75 - <artifactId>yudao-module-promotion-biz</artifactId>  
76 - <version>${revision}</version>  
77 - </dependency>  
78 - <dependency>  
79 - <groupId>cn.iocoder.boot</groupId>  
80 - <artifactId>yudao-module-product-biz</artifactId>  
81 - <version>${revision}</version>  
82 - </dependency>  
83 - <dependency>  
84 - <groupId>cn.iocoder.boot</groupId>  
85 - <artifactId>yudao-module-trade-biz</artifactId>  
86 - <version>${revision}</version>  
87 - </dependency>  
88 - <dependency>  
89 - <groupId>cn.iocoder.boot</groupId>  
90 - <artifactId>yudao-module-statistics-biz</artifactId>  
91 - <version>${revision}</version>  
92 - </dependency> 73 +<!-- <dependency>-->
  74 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  75 +<!-- <artifactId>yudao-module-promotion-biz</artifactId>-->
  76 +<!-- <version>${revision}</version>-->
  77 +<!-- </dependency>-->
  78 +<!-- <dependency>-->
  79 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  80 +<!-- <artifactId>yudao-module-product-biz</artifactId>-->
  81 +<!-- <version>${revision}</version>-->
  82 +<!-- </dependency>-->
  83 +<!-- <dependency>-->
  84 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  85 +<!-- <artifactId>yudao-module-trade-biz</artifactId>-->
  86 +<!-- <version>${revision}</version>-->
  87 +<!-- </dependency>-->
  88 +<!-- <dependency>-->
  89 +<!-- <groupId>cn.iocoder.boot</groupId>-->
  90 +<!-- <artifactId>yudao-module-statistics-biz</artifactId>-->
  91 +<!-- <version>${revision}</version>-->
  92 +<!-- </dependency>-->
93 93
94 <!-- spring boot 配置所需依赖 --> 94 <!-- spring boot 配置所需依赖 -->
95 <dependency> 95 <dependency>